-
-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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 circle centerlines aren't recomputed. <Exception> Dimension Reference has null geometry
#9953
Comments
Please try to reproduce on development build (https://github.com/FreeCAD/FreeCAD-Bundle/releases/tag/weekly-builds) and report back. TIA |
Are you using https://wiki.freecad.org/TechDraw_ExtensionCircleCenterLines? |
|
|
Correct. I don't know any method to change a cosmetic line. For example the extend/shorten line tool deletes the old line and creates a new one. |
@WandererFan is this a feature request then ? |
@WandererFan ping |
on the list....
|
Same problem on my dev version discussed here: https://forum.freecad.org/viewtopic.php?t=82182 With Segmentation fault crash on Version: 0.22.0dev.34523 (Git) No crash on version 0.22.0dev.34789 (Git), but error messages:
When moving the circle object reference. @++; |
<Exception> Dimension Reference has null geometry
@WandererFan what is the proposed fix here. Perhaps another dev would step up with a fix if they were provided orientation ? |
In general, the functions in CommandExtensionPack just draw things based on the current state of the model. They don't participate in the normal recompute cascade or remember the parameters used at creation time. We'd need a new document object created that would have properties to remember that a centre line was created for a given circle (view+geometry element) and update itself when the view that owns the circle changes. Since the circle is a subelement of the view, the toponaming exposure is significant, and the object would need all the reference checking and repair functionality that is in DrawViewDimension. The problem statement sounds like all that is needed is to insert a line of code somewhere that calls recompute(). In fact, this (and a number of other Extension related tickets, like face area) needs significant changes. |
Looks related to downstream arch bug: https://bugs.archlinux.org/task/73944
|
The center lines drawn by the extension pack are not related to the center marks that are attached to every circle/arc. The center marks are the ones that don't appear in some linux versions. |
Hi! This issue hasn’t seen activity in a while. We automatically check each issue after 190 days without activity to keep the backlog tidy. If the issue is still relevant, let us know by adding a comment. Feel free to comment anytime to keep it open. Closed issues can always be reopened. Access additional FreeCAD resources:
|
Is there an existing issue for this?
Version
0.20 (Release)
Full version info
Subproject(s) affected?
None
Problem description
Steps to reproduce:
On this example centerlines should be in the center of arc, which has radius specified
Anything else?
No response
Code of Conduct
The text was updated successfully, but these errors were encountered: