Selection not snapping to mesh generated from curves with modifiers #65133

Closed
opened 2019-05-26 00:17:35 +02:00 by Juan Gea · 10 comments

System Information
Operating system: Linux-5.0.0-15-generic-x86_64-with-debian-buster-sid 64 Bits
Graphics card: GeForce GTX 1080/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 430.14

Blender Version
Broken: version: 2.80 (sub 72), branch: boneMaster, commit date: 2019-05-25 12:12, hash: c2f2eb49e5
Worked: (optional)
(It's a custom branch, but totally based on today's master code and modifying only a few things for cycles, nothing to do with this, so this can be reproduced with master too)

Short description of error
Snap to vertice is not snapping to vertices in geometry created by modifiers in curves

Exact steps for others to reproduce the error
1.- Create a cube
2.- Set snap settings to "vertice"
3.- in a different place generate a circle curve
4.- configure the circle curve to 2D and enable "Fill Mode" = Front
5.- Add a solidify modifier and give it a value so a cilynder is generated
6.- Try to snap the cube to any vertex of the geometry, any vertex that is not part of the actual curve
7.- The geometry will be ignored so it impossible to snap anything to it without converting the curve to mesh

**System Information** Operating system: Linux-5.0.0-15-generic-x86_64-with-debian-buster-sid 64 Bits Graphics card: GeForce GTX 1080/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 430.14 **Blender Version** Broken: version: 2.80 (sub 72), branch: boneMaster, commit date: 2019-05-25 12:12, hash: `c2f2eb49e5` Worked: (optional) (It's a custom branch, but totally based on today's master code and modifying only a few things for cycles, nothing to do with this, so this can be reproduced with master too) **Short description of error** Snap to vertice is not snapping to vertices in geometry created by modifiers in curves **Exact steps for others to reproduce the error** 1.- Create a cube 2.- Set snap settings to "vertice" 3.- in a different place generate a circle curve 4.- configure the circle curve to 2D and enable "Fill Mode" = Front 5.- Add a solidify modifier and give it a value so a cilynder is generated 6.- Try to snap the cube to any vertex of the geometry, any vertex that is not part of the actual curve 7.- The geometry will be ignored so it impossible to snap anything to it without converting the curve to mesh
Author

Added subscriber: @juang3d

Added subscriber: @juang3d

Added subscribers: @mano-wii, @brecht

Added subscribers: @mano-wii, @brecht

@mano-wii, one you could check perhaps?

@mano-wii, one you could check perhaps?

Blender never had support for snapping to surfaces generated from curves (or any displist object).
This is a feature to add and needs a lot of code engagement. (It would be necessary to create bvhtree for displists, save in cache, create snap functions for this type of object and callbacks for the new bvhtree).
I've never focused on this limitation because in my opinion there are other issues that still need attention in this area of snapping.

Blender never had support for snapping to surfaces generated from curves (or any displist object). This is a feature to add and needs a lot of code engagement. (It would be necessary to create bvhtree for displists, save in cache, create snap functions for this type of object and callbacks for the new bvhtree). I've never focused on this limitation because in my opinion there are other issues that still need attention in this area of snapping.

Added subscriber: @mont29

Added subscriber: @mont29

Changed status from 'Open' to: 'Archived'

Changed status from 'Open' to: 'Archived'
Bastien Montagne self-assigned this 2019-05-29 10:22:39 +02:00

Archiving then, thanks for the report, but this is a known limitation/TODO, not a bug.

Archiving then, thanks for the report, but this is a known limitation/TODO, not a bug.
Author

Thanks @mont29 , understood :)

@mano-wii well, right now this is a pretty important feature, I'm not sure what areas do you think that need more attention in snapping, could be great to know :) (really, no pun intented) but a common workflow in any software is to snap things to curves, since for example CAD data come in curve form and some parts of a CAD model may be constructed based on the CAD curve to allow an easy iteration.

Would be possible to add a modifier to those curves so they are internally converted to mesh for this purpose without breaking all the handlers and other curve settings? Like a CurveSurfaceToMesh modifier that will serve to allow this kind of things?

Thanks for the analysis anyway! :)

Cheers!

Thanks @mont29 , understood :) @mano-wii well, right now this is a pretty important feature, I'm not sure what areas do you think that need more attention in snapping, could be great to know :) (really, no pun intented) but a common workflow in any software is to snap things to curves, since for example CAD data come in curve form and some parts of a CAD model may be constructed based on the CAD curve to allow an easy iteration. Would be possible to add a modifier to those curves so they are internally converted to mesh for this purpose without breaking all the handlers and other curve settings? Like a CurveSurfaceToMesh modifier that will serve to allow this kind of things? Thanks for the analysis anyway! :) Cheers!

Whatever the modifier, it generates a mesh. But this mesh was not being used for snap.
Comitted 9dafc8ee2c for this case ;)

Whatever the modifier, it generates a mesh. But this mesh was not being used for snap. Comitted 9dafc8ee2c for this case ;)
Author

THANKS A LOT!!!!!

THANKS A LOT!!!!!
Sign in to join this conversation.
No Label
Interest
Alembic
Interest
Animation & Rigging
Interest
Asset Browser
Interest
Asset Browser Project Overview
Interest
Audio
Interest
Automated Testing
Interest
Blender Asset Bundle
Interest
BlendFile
Interest
Collada
Interest
Compatibility
Interest
Compositing
Interest
Core
Interest
Cycles
Interest
Dependency Graph
Interest
Development Management
Interest
EEVEE
Interest
EEVEE & Viewport
Interest
Freestyle
Interest
Geometry Nodes
Interest
Grease Pencil
Interest
ID Management
Interest
Images & Movies
Interest
Import Export
Interest
Line Art
Interest
Masking
Interest
Metal
Interest
Modeling
Interest
Modifiers
Interest
Motion Tracking
Interest
Nodes & Physics
Interest
OpenGL
Interest
Overlay
Interest
Overrides
Interest
Performance
Interest
Physics
Interest
Pipeline, Assets & IO
Interest
Platforms, Builds & Tests
Interest
Python API
Interest
Render & Cycles
Interest
Render Pipeline
Interest
Sculpt, Paint & Texture
Interest
Text Editor
Interest
Translations
Interest
Triaging
Interest
Undo
Interest
USD
Interest
User Interface
Interest
UV Editing
Interest
VFX & Video
Interest
Video Sequencer
Interest
Virtual Reality
Interest
Vulkan
Interest
Wayland
Interest
Workbench
Interest: X11
Legacy
Blender 2.8 Project
Legacy
Milestone 1: Basic, Local Asset Browser
Legacy
OpenGL Error
Meta
Good First Issue
Meta
Papercut
Meta
Retrospective
Meta
Security
Module
Animation & Rigging
Module
Core
Module
Development Management
Module
EEVEE & Viewport
Module
Grease Pencil
Module
Modeling
Module
Nodes & Physics
Module
Pipeline, Assets & IO
Module
Platforms, Builds & Tests
Module
Python API
Module
Render & Cycles
Module
Sculpt, Paint & Texture
Module
Triaging
Module
User Interface
Module
VFX & Video
Platform
FreeBSD
Platform
Linux
Platform
macOS
Platform
Windows
Priority
High
Priority
Low
Priority
Normal
Priority
Unbreak Now!
Status
Archived
Status
Confirmed
Status
Duplicate
Status
Needs Info from Developers
Status
Needs Information from User
Status
Needs Triage
Status
Resolved
Type
Bug
Type
Design
Type
Known Issue
Type
Patch
Type
Report
Type
To Do
No Milestone
No project
No Assignees
4 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: blender/blender#65133
No description provided.