Search found 161 matches

by KurtF
Sat Aug 27, 2022 4:06 pm
Forum: Open discussion
Topic: Fasteners workbench based on screw-maker
Replies: 458
Views: 233333

Re: Fasteners workbench based on screw-maker

It hapens when you load a saved file before selecting the fastener worbench for the firs time. Usualy, if you first select the workbench then load the file this does not happen. Yes, that's about how it happened. Path I followed originally was: Start FC -> Load Doc -> Switch to FW -> Update FW (Add...
by KurtF
Fri Aug 26, 2022 4:34 pm
Forum: Open discussion
Topic: Fasteners workbench based on screw-maker
Replies: 458
Views: 233333

Re: Fasteners workbench based on screw-maker

@shaise thank you so much for your refactoring work on Fasteners! Paves the way for more contributions now that you've simplified the fasteners adding configuration. +1 Hello, Shai. First, want to echo that from Kunda! I finally got a chance to look at it, but unfortunately it threw an error on my ...
by KurtF
Fri Aug 26, 2022 4:22 pm
Forum: Open discussion
Topic: Fasteners workbench based on screw-maker
Replies: 458
Views: 233333

Re: Fasteners workbench based on screw-maker

shaise thank you so much for your refactoring work on Fasteners! Paves the way for more contributions now that you've simplified the fasteners adding configuration. +1 Hello, Shai. First, want to echo that from Kunda! I finally got a chance to look at it, but unfortunately it threw an error on my f...
by KurtF
Mon Aug 22, 2022 12:10 pm
Forum: Open discussion
Topic: Fasteners workbench based on screw-maker
Replies: 458
Views: 233333

Re: Confused by Fasteners WB Proprties

So here my problem is that while I can pick a class of thread for the hole in Part Design the Fasteners WB doesn't offer that for threaded rods but rather just says "standard coarse threads" when hovering over the threaded rod icon. So, it seems there is no way to match the thread class f...
by KurtF
Sat Jul 02, 2022 12:18 am
Forum: Open discussion
Topic: Fusion360 has hiked its prices once again. Brace yourselves, CADfugees are coming
Replies: 174
Views: 20165

Re: Fusion360 has hiked its prices once again. Brace yourselves, CADfugees are coming

This thread shows pretty cool FreeCAD teamwork. It also reminds me of the mid '80s when AOL was dumping hundreds of thousands of first-time home internet users onto an internet mostly dominated by academics. Boy, those were the days, huh? 'realistic expectations of what will be encountered when divi...
by KurtF
Tue Jun 14, 2022 3:57 pm
Forum: Python scripting and macros
Topic: [Solved] Recompute after onChanged()
Replies: 6
Views: 728

Re: [Solved] Recompute after onChanged()

I haven't looked into this yet, but there should be some sort of garbage collection statement or method which can selectively clear the python cache at the start of a Macro or WB re-load. An extreme way to solve this could be delete py_chache directory fist. ???
by KurtF
Tue Jun 14, 2022 3:46 pm
Forum: Python scripting and macros
Topic: [Solved] Multiple object paramters to define one value
Replies: 2
Views: 495

Re: Multiple object paramters to define one value

In your onChanged() callback, do something like this:

Code: Select all

if prop == "Diameter":
	if fp.Radius != fp.Diameter/2:
		fp.Radius = fp.Diameter/2
if prop == "Radius":
	if fp.Diameter != fp.Radius * 2:
		fp.Diameter = fp.Radius * 2
by KurtF
Tue Jun 14, 2022 3:41 pm
Forum: Python scripting and macros
Topic: [Solved] Recompute after onChanged()
Replies: 6
Views: 728

Re: [Solved] Recompute after onChanged()

I went back to the code, run it again, and my problem was solved. Yeah, I've run into this quirk also. Especially if the FP class is in a separate module/file from the caller. Like onekk mentioned, I'm using reload: # For FC IDE Testing from importlib import reload reload(MyClasses) But even then, ...
by KurtF
Mon Jun 13, 2022 9:43 pm
Forum: Python scripting and macros
Topic: [Release] ThreadMaker 1.0 Macro Set
Replies: 2
Views: 1597

Re: [Release] ThreadMaker 1.0 Macro Set

There are 2 convenience macros in ThreadMaker: TMEnableThread and TMDisableThread. I have extended these macros to operate on all threaded solids in Fasteners Workbench, in addition to those created with ThreadMaker. Here are the optional Fasteners WB-aware versions: TMFWDisableThread.FCMacro TMFWEn...
by KurtF
Sun Jun 12, 2022 9:07 pm
Forum: Python scripting and macros
Topic: [Beta] ThreadMaker New Macro for Threaded Shafts
Replies: 6
Views: 1399

Re: [Beta] ThreadMaker New Macro for Threaded Shafts

But I have noted this behaviour in many "Imperial addicted" people. . I was just reading this CNN article (https://www.cnn.com/2022/06/12/politics/america-metric-system/index.html) about us Imperial Addicted People. A US public opinion poll in 2016 showed only 32% of US wants us to go met...