Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Object placement offset #50

Open
OyvindAndersson opened this issue Aug 30, 2023 · 0 comments
Open

Object placement offset #50

OyvindAndersson opened this issue Aug 30, 2023 · 0 comments

Comments

@OyvindAndersson
Copy link

To be able to work (somewhat) with large coordinates, being able to strip and re-apply a global coordinate offset would be very helpful.

Example:
A site/model created in i.e. Revit, with a reference box placed that is the local 0,0,0 in which the global offset is applied to. We encounter this at work frequently.

ATM I manually remove the global offsets with ifcpatch by negating the global offset (localplacement/axis2placement3d)
python -m ifcpatch -i "Model with real coordinates.ifc" -r OffsetObjectPlacements -a -363799960.076 -6661200126.685 -28300.000 0

Then, I do work, and export a new IFC with the reference box in 0,0,0, and re-apply the global offset with the same ifcpatch script.

Proposal:

  • Make it possible to remove global offset on import
  • Make it possible to apply a global offset before export (either in export dlg, or in IFC manager settings)
    • Afaik this must be set on the IfcSite

For future GIS features, being able to do the same for imported, real-world-coordinated DWG/DXF or Shape files would be useful.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant