Error when importing multiple views in TechDraw

Discussions about the development of the TechDraw workbench
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Post Reply
User avatar
dcapeletti
Posts: 504
Joined: Wed Jul 23, 2014 2:27 pm

Error when importing multiple views in TechDraw

Post by dcapeletti »

Hi, I'm attaching the file that caused the error.
When I try to import several views of the revolution on the techdraw page, freecad throws the following error:

Code: Select all

App::Document::_RecomputeFeature(): Unknown exception in Feature "ProjItem" thrown
Actually, the same does not happen with other solids that I have created. I hope you can help me. Thanks

OS: Debian GNU/Linux 9 (stretch)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.18.16117 (Git) AppImage
Build type: Release
Branch: (HEAD detached at 0.18.2)
Hash: dbb4cc6415bac848a294f03b80f65e888d531742
Python version: 3.6.7
Qt version: 5.6.2
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: Spanish/Argentina (es_AR)
Attachments
03-100-boceto.FCStd
(37.17 KiB) Downloaded 17 times
chrisb
Veteran
Posts: 54273
Joined: Tue Mar 17, 2015 9:14 am

Re: Error when importing multiple views in TechDraw

Post by chrisb »

I get a different error message ...

Code: Select all

GO::projectShape - OCC error -  - while projecting shape
... but it still works.

OS: macOS High Sierra (10.13)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.17147 (Git)
Build type: Release
Branch: master
Hash: 251a3b1ff5517d929b4993d8836e17e01ae2623c
Python version: 3.7.3
Qt version: 5.9.7
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: English/Germany (en_DE)
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
User avatar
dcapeletti
Posts: 504
Joined: Wed Jul 23, 2014 2:27 pm

Re: Error when importing multiple views in TechDraw

Post by dcapeletti »

... but it still works.
It's true, in freecad 0.19 it works with that error message. But in the version 0.18 that I have attached, it launches the message and the views are not imported.
chrisb
Veteran
Posts: 54273
Joined: Tue Mar 17, 2015 9:14 am

Re: Error when importing multiple views in TechDraw

Post by chrisb »

dcapeletti wrote: Tue Jul 09, 2019 10:12 am But in the version 0.18 that I have attached, it launches the message and the views are not imported.
That's what you said above. It's the way how software development should be: newer versions have less errors and more functions.
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
User avatar
wandererfan
Veteran
Posts: 6324
Joined: Tue Nov 06, 2012 5:42 pm
Contact:

Re: Error when importing multiple views in TechDraw

Post by wandererfan »

dcapeletti wrote: Mon Jul 08, 2019 9:42 pm Actually, the same does not happen with other solids that I have created. I hope you can help me. Thanks
The actual failure is in "HLRBRep_Algo::Update()" and the only information provided is there was a failure.

There is definitely something weird going on here.

- The DependencyGraph has "links go out of scope errors".

- I have problems trying to edit the Sketch or CopySketch. If I try to add a line, I either get no line and errors:
"Failed to add line: Both points are equal" and "Updating geometry: Error build geometry(14): Both points are equal",
or I get a line, but the line is locked to the horizontal sketch axis instead of the vertical line I'm trying to draw.

- also get "Invalid solution from DogLeg solver", but that might be due to the adding a line issue.

- the sketch edge on the Axis of Revolution is a spline, and it might cross the vertical axis. That would make a self intersecting solid. That edge should probably be a straight line.
SplineOnAxisOfRotation.png
SplineOnAxisOfRotation.png (159.84 KiB) Viewed 442 times

Need somebody with more skill than I to sort out CopySketch, I think.
Post Reply