Construction Lines

edited February 16 in General

@straaatooos based on you phenomenal work in https://github.com/straaatooos/goliath and as a followup of https://community.osarch.org/discussion/3328/sketch-prototype-of-a-lightweight-h-bestands-bim-software-in-blender#latest here is a proposal for construction lines for Bonsai.
"""
Construction Lines Tool for Bonsai BIM
=======================================

A tool for creating temporary reference geometry from selected edges.
Construction lines automatically extend, find intersections, and create
visual markers to aid in precise modeling.

Original Author: Julian "straaatooos" Hüther (Goliath Project)
https://github.com/straaatooos/goliath

Adapted for: Bonsai BIM Integration

Key Features:
- Extend selected edges into long construction lines
- Automatic intersection detection with existing construction lines
- Visual markers (empties) at intersection points
- Custom transform orientation based on selected geometry
- Prevents duplicate intersection markers at the same location
"""

Please take a look to the avilable PR Add construction lines tool for temporary reference geometry#7676
It is using shortcut L and Alt-L respectively as letter C was already taken for precise selection.
See it in action.

Thanks @straaatooos !!

Cheers!

NigelsteverugistraaatoooszoomerwalpaduarteframostheoryshawFranSeoanefurtonbEnzoA7

Comments

  • edited February 16

    This is very cool!
    A few suggested extensions.

    • be able to just hover over an edge, and hit 'L' to create a construction line, versus having to select the edge first.
    • have it work in object mode, as well.
    • have a mode where construction lines are turned on automatically for all edges of an object when you 'g' or 'r' an object, and then turn off after you move it. mock up: https://community.osarch.org/uploads/editor/r8/5kv8mgiy3rhd.mp4
    • similar to the above (perhaps an extension of) have a mode where you can keep the original position of the object as 'ghost' which you can snap to.. similar to this feature request: https://github.com/s-leger/blender_cad_transforms/issues/35
    • give the construction line a color (maybe change in preferences)
    zoomerduarteframos
  • -And maybe hit 'L' again, on an edge, to remove that edge.

    • Would be nice if edges are not coplaner that an intersection could be found on both edges.
    duarteframos
  • @theoryshaw said:

    • Would be nice if edges are not coplaner that an intersection could be found on both edges.

    Added:

    Cheers!

    theoryshawzoomersteverugiwalpaBedsonNigelduarteframos
  • edited February 16

    @theoryshaw said:
    This is very cool!
    A few suggested extensions.

    • be able to just hover over an edge, and hit 'L' to create a construction line, versus having to select the edge first.

    I guess we would need here Core Dev feedback. since this I believe would require a modal operator fetching mouse movements and raycasting to find the face/edge and I believe there is a Bonsai UI cache (@Moult told me about it in the linking files PR as I was running a handler that was effectively disabling it... so that need to be checked carefully to not hit that one or overall performance)

    • have it work in object mode, as well.

    Connected to the previous one

    Something like "Temporary Construction lines" They only exist as an option for 'g' and 'r' operations?

    Is it not part of the previous one? If we create all "Temporary Construction lines" for a given object, that effectively has the ghost object within those lines, right?
    On this matter I guess this could be very noisy if the object is not quite "cartesian". An object with complex mesh would have tens of edges. If this use case is really useful for polyhedron type of shapes, it should be somehow constrained.

    • give the construction line a color (maybe change in preferences)

    yep!

  • Something like "Temporary Construction lines" They only exist as an option for 'g' and 'r' operations?

    I think 'g' and 'r' should cover it.

    Is it not part of the previous one? If we create all "Temporary Construction lines" for a given object, that effectively has the ghost object within those lines, right?

    Yes, both those could work together, i would think.

    On this matter I guess this could be very noisy if the object is not quite "cartesian".

    I think having this mode be able to be toggled on/off would help. I feel a majority of building objects in any one BIM are relatively simple.

Sign In or Register to comment.