Comments (3)
This probably fixed it:
--- ThreadProfileCmd.py.orig 2022-08-04 00:10:48.974435796 +0200
+++ ThreadProfileCmd.py 2022-08-04 00:11:11.488046725 +0200
@@ -393,10 +393,10 @@
helix.AttachmentOffset = profile.AttachmentOffset
body=FreeCADGui.ActiveDocument.ActiveView.getActiveObject("pdbody")
part=FreeCADGui.ActiveDocument.ActiveView.getActiveObject("part")
- if part:
- part.Group=part.Group+[getattr(doc,name)]
if body:
body.Group=body.Group+[getattr(doc,name)] #put helix in body to avoid out of scope warnings
+ elif part:
+ part.Group=part.Group+[getattr(doc,name)]
doc.commitTransaction()
doc.recompute()
return
from threadprofile.
I added your change to new version (1.82). Please test.
from threadprofile.
1.82 works for me, thanks.
from threadprofile.
Related Issues (20)
- Icons disappeared after restart v0.19 HOT 3
- Bsp or G1/2 thread not avilable HOT 5
- 45 degree thread for 3D printing HOT 4
- Tech Draw WB Issue with TP imports
- Icon path in package.xml
- Modifying existing thread doesn't result in any change HOT 3
- custom profiles from helical projection of a sketch HOT 6
- Bottle_M_ThreadProfile and 2-starts or 3 starts don't work HOT 3
- Toolbar does not go away or go inactive when alternative workbench selected HOT 3
- cannot find ThreadProfile icon HOT 4
- Preset 1 1/4 in-12 UNF and 1 1/8 in-12 UNF seems to be swapped. HOT 1
- Cannot create long screw HOT 3
- broken link to amesweb.info for Metric thread HOT 4
- Add Profiles/Support for NPT or Other Tapered Threads HOT 3
- Can not change Height? HOT 4
- Please explain fields used in presets HOT 1
- Missing option for generating trapezoid threads and other shapes HOT 2
- Blank page on Addon Manager
- "Do sweep" button is always disabled HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from threadprofile.