-
-
Notifications
You must be signed in to change notification settings - Fork 3.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Problem] TechDraw: Dimensions are those of projected geos. #12383
Comments
That's the overall behavior of TD. For axonometric views there is the axonometric dimension tool. You can also link the dimensions to 3D objects or overwrite them manually. |
I see. And horizontal/vertical distances do not make sense in axonometric views. I think the software should deal with this. When view is axonometric the dimensions created should automatically be axonometric dimensions. No need for a separate tool. This should be included in the 'smart dimension' tool. |
I agree with paddle. This is a reasonable area where some modest automation can be applied. |
You can't get a 3d ref from a 2d ref. Projection is not an invertible operation. At best, you could scan every 3d vertex (or edge as the case may be), project it, then compare each to the 2d ref. In the general case, this will give a list of potential matches. You would still need manual intervention to pick the right match. There is nothing stopping the user from creating dimensions directly from 3d model geometry. This will create a True dimension, rather than a Projected dimension |
This issue should be closed. |
I will close this then |
@WandererFan is it possible to distinguish from the view if the view is axonometric or not to automatically choose the right dimension? |
You can use the the view direction to try to determine if the view seems to be axonometric (ex (1,1,1)) but the orientation of the subject object may mean that what looks like an axonometric view according to the direction is actually orthogonal due to the alignment of the subject. If you insist on choosing your dimension points on the drawing instead of selecting 3d geometry you are going to get projected dimensions. There is no way to convert a projected point back to its unprojected source. |
This is dead easy in Sketcher since sketcher views are 2 dimensional and nothing is projected. |
There is no way to convert projected back to original, but it is possible
to store a map of projected-original edge.
…On Sat, Feb 24, 2024, 15:05 WandererFan ***@***.***> wrote:
You can use the the view direction to try to determine if the view seems
to be axonometric (ex (1,1,1)) but the orientation of the subject object
may mean that what looks like an axonometric view according to the
direction is actually orthogonal due to the alignment of the subject.
If you insist on choosing your dimension points on the drawing instead of
selecting 3d geometry you are going to get projected dimensions.
There is no way to convert a projected point back to its unprojected
source.
—
Reply to this email directly, view it on GitHub
<#12383 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AEYO6MPSXC75ZFWSR3U43FTYVHXT5AVCNFSM6AAAAABDG5GDH6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNRSGM4DGMJUGM>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
I would like to react on these two comments from @WandererFan (the first) and @PaddleStroke (the second). I tried to modify OCCT to maintain a mapping between the offered 3D model and the returned 2D projection. I don't think it can be solved in general, but I think there is potential to do much better than what is possible right now. See this forum post. |
IDK, but I'm told that dimensions starting as the projected value is the way other CAD programs work. @howie-j picture seems to bear this out. |
I think how other programs handle this is that you define the dimensions in the 3D view (e.g. annotations) before deriving the projected drawing. Then the dimensions get projected also on the sheet and could be linked. If you then change them, they are also changed in the 3D view. I know that's possible in SolidEdge and here are some Inventor references [1, 2]. This way you can also directly change the dimension in the 2D drawing and the 3D model updates accordingly. This would in a far future be great for a real GD&T implementation, as they are defined also in the 3D space as annotations on the corresponding features of the model and can then be derived into the 2D drawing. [1] https://help.autodesk.com/view/INVNTOR/2022/ENU/?guid=GUID-597185E4-F39C-4CE7-9CC7-EA69533BACB2 |
Is there an existing issue for this?
Problem description
Am I missing something? Dimensions tools write the dimension of the projected geos. So if the view is not normal it is wrong.
Full version info
Subproject(s) affected?
Techdraw
Anything else?
No response
Code of Conduct
The text was updated successfully, but these errors were encountered: