OSArch Community

DXF reference as IfcVirtualElement: cursor snapping and movement very slow

  1. S

    Figured that importing DXF as IfcVirtualElement could be a way to keep a reference drawing in Bonsai Ifc file. But the problem arises when I try to draw walls using dxf as reference and the snapping kicks in and slows cursor display down to impossibly slow motion and jerking around. It actually makes no difference even if I turn snapping off completely, it is still the same.

    This might be due to large size of dxf (10 000 items). But before importing I cleaned it by removing unnecessary layers and performing overkill.

    Any thoughts? Should I go back to raster image references?

    Edit: Of course immediately after posting this I tried to draw in other view than top view and now it works faster. So the slowdown is only on top view (both model and drawing mode).

  1. F

    I use IfcAnnotation to classify DXF files.

    I've also noticed some slowdowns and difficulty in selecting snaps. It only detects DXF snaps from the top view, not from a perspective view

  1. S

    @Samppa

    Don't know if it's the right procedure but I normally use IfcAnnotation to save a .dxf in the model, but admittedly for far smaller files like floor plan or similar

    I also ctrl+J everything to make it a single mesh before converting the drawing to ifc element

    to make it less "jumpy" I only select vertex snap but generally I can go around it without noticeable limitations, regardelss of the view

    cheers

  1. N

    @Samppa did you do a Scale Z to zero and then Merge verts in Edit mode then select Faces and delete only Faces, I'm not saying this will definitely help but it may reduce complexity of the curve. The thing I often forget is to Apply Scale to the DXF after doing a Scale adjustment (often it's a metre to millimetre or vice versa thing). When I forget to apply scale and make the DXF into an IfcAnnotation it disappears... moment of panic until realising Bonsai has used the actual scale :)

  1. S

    Hi and thanks for pondering this with me. I managed to get dxf object count a lot smaller. Also I joined everything in dxf import together. There was a lot of text elements far away from origo. After deleting them working with this reference file is much better.

  1. M

    If you could privately upload your DXF then file a bug we can investigate optimisation.

Login or Register to reply.