BIM-Tools / SketchUp-IFC-Manager

IFC data manager and exporter for SketchUp.
GNU General Public License v3.0
58 stars 20 forks source link

Object placement offset #50

Open OyvindAndersson opened 1 year ago

OyvindAndersson commented 1 year ago

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:

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