View Issue Details

IDProjectCategoryView StatusLast Update
0004139PartDesignBugpublic2019-09-21 09:42
ReporterDeeJayOne Assigned To 
PriorityhighSeveritymajorReproducibilityalways
Status newResolutionopen 
Platformx86-64OSWindowsOS Version10
Product Version0.18 
Target VersionFixed in Version 
Summary0004139: v0.18-16131 - Macro - SubtractivePipe attached path object issues after macro executed.
DescriptionI have tried to capture a macro while drawing a body which is containing a SubtractivePipe object.

When, I play the generated macro file, I have 2 errors displayed (on the body -> "Tip shape is empty" and the Subtractive part -> "No spine linked")

1) I have first checked the sweep properties of the SubtractivePipe and I can see that the attached path object is void. So it explains why errors occur.

Then, if I launch the GUI guest settings for the SubtractivePipe, I can newly type the attached path object, then validate and all is done.

2) I have added a python cmd in the script to add the attached path object to the subtractivePipe.
Then, I have played the macro file but the 2 errors are always here.
I can see on the properties that the attached object (a sketch in my case) is well typed, so I can say that the macro script is now OK.
But when I newly launch the GUI guest settings, I can see that there is no attached path object. How is it possible ?
I need manually type the attached path object via the GUI guest setting of the Subtractive object to solve the problem.

In case of automatic macro usage, it is very annoying.
Steps To ReproduceStart the macro recording
1) Select the PartDesign mode
2) Draw a cube via a sketch and a pad.
3) Draw a "path" sketch with a line that throws the cube.
4) Draw a "profile" sketch with a circle at the normal of the path line.
5) Draw a subtractivePipe by selecting first the profile sketch. Select the path line as the attached path object, then valid the operation.
7) Stop the macro recording

Then create a new file, create a new body and then execute the macro file previously recorded.
Additional InformationI have also played the generated macro file with v0.19-18234 and I have also the error message "No spine linked" on the Subtractive object. (same pb. as v0.18)
But this time, I don't have the error message on the body.
TagsNo tags attached.
FreeCAD Information

Activities

DeeJayOne

2019-09-20 18:38

reporter   ~0013666

The macro recorded file I have used and a modified version which includes the attached path object for the SubtractivePipe.

Test_SubtractivePipe_modified.FCMacro (10,002 bytes)
Test_SubtractivePipe_org.FCMacro (9,781 bytes)

DeeJayOne

2019-09-21 09:28

reporter   ~0013670

Forum associated link (french)

DeeJayOne

2019-09-21 09:42

reporter   ~0013671

OS: Windows 10
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.18.16131 (Git)
Build type: Release
Branch: releases/FreeCAD-0-18
Hash: 3129ae4296e40ed20e7b3d460b86e6969acbe1c3
Python version: 3.6.6
Qt version: 5.6.2
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: French/France (fr_FR)

Issue History

Date Modified Username Field Change
2019-09-20 18:33 DeeJayOne New Issue
2019-09-20 18:38 DeeJayOne File Added: Test_SubtractivePipe_modified.FCMacro
2019-09-20 18:38 DeeJayOne File Added: Test_SubtractivePipe_org.FCMacro
2019-09-20 18:38 DeeJayOne Note Added: 0013666
2019-09-21 09:23 DeeJayOne Summary Macro - SubtractivePipe attached path object issues after macro executed. => v0.18-16131 - Macro - SubtractivePipe attached path object issues after macro executed.
2019-09-21 09:28 DeeJayOne Note Added: 0013670
2019-09-21 09:35 DeeJayOne Description Updated View Revisions
2019-09-21 09:35 DeeJayOne Additional Information Updated View Revisions
2019-09-21 09:38 DeeJayOne Additional Information Updated View Revisions
2019-09-21 09:42 DeeJayOne Note Added: 0013671