Blender doesn't provide a way to integrate with its snapping system, so we had to build a new one for Bonsai. Also, we will eventually add more options that Blender doesn't offer.
@bruno_perdigao said:
Blender doesn't provide a way to integrate with its snapping system, so we had to build a new one for Bonsai. Also, we will eventually add more options that Blender doesn't offer.
Just a thought though... Could you not use just the status of those existing snapping menu items to set your own snapping algo? I would expect their status to be readable from extensions. (I understand totally having a separate button for novel snap modes.)
Snapping with Blenders stuff was working fine for me in object mode, and I'm pretty sure it worked in polylines too (i.e. snapping slab perimeters). Is the goal to completely replace the blender snapping for all modes in Bonsai? If so, will existing stuff keep working until that is robust? For example, snapping using a base point is something I do a lot.
They are completely separate systems. Bonsai snapping only works for Bonsai-specific operators. Right now, it is only being used by operators based on Polyline tool. Unfortunately, we can't add our own options, like the intersection snap, to Blender's operators. As a result, when moving an object, none of Bonsai snapping options will be available.
At this point, we don't have a clear vision for how much of Blender's snapping functionality we would like to replace. For that, it would require us to write our own Move Tool, for instance. We are still experimenting and your feedback is very much appreciated.
Good afternoon to everyone, i just say hello to ask somethings. The shift+P function does not work anymore? and how can I edit multiple grid at the same time?, i remenber before was posible do it.
Thanks in advance
I am modelling a two-storey house, I had set out ground floor walls, then in wire frame view started to do the upper floor walls. I discovered that I was unable to snap to the walls below to place upper walls over them easily. I think this would be helpful if for example I held down the Alt key while snapping to an object on another storey/level. I prefer to do this set out work in plan view.
@bruno_perdigao as a follow up to my previous post, knowing the answer is probably so obvious but I missed it, is there a way to start a new wall from the 3D cursor? A possible way I am thinking it would be helpful is, I snap the 3Dcursor to some point on any level, then in wall menu I click to add a wall, then I press a hotkey that starts the wall (or places other objects) at the X,Y coords of the 3Dcursor but using the Z height of the current level/storey.
@theoryshaw said:
Dumb question, did you turn on the bonsai snaps?
Hi @theoryshaw, thank you for your response. Yes Bonsai snaps are on like in your video.
I did a little further investigation and found the following.
with both levels displaying in wireframe in plan-view (top ortho). If I am adding walls to the lower level, then I can snap to points on the upper level to help positioning. If I am adding a wall on the upper level, I cannot snap to a point on the lower level. There seems to be an invisible cloak of secrecy hiding it :) This morning I auto installed v0.8.1 alpha 250206. Follow up question, is there a setting for snaps 'area of attraction' (for want of a better term) radius?
@theoryshaw said:
possible to do a video, to demonstrate the problem?
I made a new sample file to demonstrate the problem and now the problem will not present 🤷♂️ there is an AI in my computer that just wants to mess with my head
@theoryshaw I realise what the issue was, it was me but in my defense, it was a bit of Bonsai too :)
I had modelled a floor slab, Bonsai snapped to the floor slab as it was above the lower walls.
This brings up an opportunity to have a setting for snapping radius and a 'look through' solid objects in wireframe view, so in a situation like I was experiencing simply zooming in to the desired snapping point would snap as expected. What do you think?
Comments
@Shegs
Yep, available in the latest release, sorted out, thanks
Blender doesn't provide a way to integrate with its snapping system, so we had to build a new one for Bonsai. Also, we will eventually add more options that Blender doesn't offer.
Love the Intersection snap!
Just a thought though... Could you not use just the status of those existing snapping menu items to set your own snapping algo? I would expect their status to be readable from extensions. (I understand totally having a separate button for novel snap modes.)
Snapping with Blenders stuff was working fine for me in object mode, and I'm pretty sure it worked in polylines too (i.e. snapping slab perimeters). Is the goal to completely replace the blender snapping for all modes in Bonsai? If so, will existing stuff keep working until that is robust? For example, snapping using a base point is something I do a lot.
They are completely separate systems. Bonsai snapping only works for Bonsai-specific operators. Right now, it is only being used by operators based on Polyline tool. Unfortunately, we can't add our own options, like the intersection snap, to Blender's operators. As a result, when moving an object, none of Bonsai snapping options will be available.
At this point, we don't have a clear vision for how much of Blender's snapping functionality we would like to replace. For that, it would require us to write our own Move Tool, for instance. We are still experimenting and your feedback is very much appreciated.
Good afternoon to everyone, i just say hello to ask somethings. The shift+P function does not work anymore? and how can I edit multiple grid at the same time?, i remenber before was posible do it.
Thanks in advance
@Darth_Blender
Shift + A
(Bonsai build alpha250119)I am modelling a two-storey house, I had set out ground floor walls, then in wire frame view started to do the upper floor walls. I discovered that I was unable to snap to the walls below to place upper walls over them easily. I think this would be helpful if for example I held down the Alt key while snapping to an object on another storey/level. I prefer to do this set out work in plan view.
@bruno_perdigao as a follow up to my previous post, knowing the answer is probably so obvious but I missed it, is there a way to start a new wall from the 3D cursor? A possible way I am thinking it would be helpful is, I snap the 3Dcursor to some point on any level, then in wall menu I click to add a wall, then I press a hotkey that starts the wall (or places other objects) at the X,Y coords of the 3Dcursor but using the Z height of the current level/storey.
Dumb question, did you turn on the bonsai snaps?
I did a little further investigation and found the following.
with both levels displaying in wireframe in plan-view (top ortho). If I am adding walls to the lower level, then I can snap to points on the upper level to help positioning. If I am adding a wall on the upper level, I cannot snap to a point on the lower level. There seems to be an invisible cloak of secrecy hiding it :) This morning I auto installed v0.8.1 alpha 250206. Follow up question, is there a setting for snaps 'area of attraction' (for want of a better term) radius?
possible to do a video, to demonstrate the problem?
I made a new sample file to demonstrate the problem and now the problem will not present 🤷♂️ there is an AI in my computer that just wants to mess with my head
@theoryshaw I realise what the issue was, it was me but in my defense, it was a bit of Bonsai too :)
I had modelled a floor slab, Bonsai snapped to the floor slab as it was above the lower walls.
This brings up an opportunity to have a setting for snapping radius and a 'look through' solid objects in wireframe view, so in a situation like I was experiencing simply zooming in to the desired snapping point would snap as expected. What do you think?
Sorry, didn't follow you. Any visual aids for the visual person? ;)
@Nigel Let me know if this commit solves your problem: https://github.com/IfcOpenShell/IfcOpenShell/commit/aef972a51899622c6e238668b2e37817ffda0303
Hi, I'll check after work today, thank you in advance
@bruno_perdigao it's a sunny evening here in Christchurch NZ and the snapping now works perfectly :)
Bruno you're a legend!