Search found 9471 matches

by triplus
Sat Feb 18, 2017 1:26 pm
Forum: Python scripting and macros
Topic: tutorials for my NURBS macros
Replies: 35
Views: 7353

Re: tutorials for my NURBS macros

There you have it. Being tolerant is not always easy but it can prove to be useful! ;)
by triplus
Sat Feb 18, 2017 1:20 pm
Forum: Developers corner
Topic: Dissallowing cross coordinate-system links
Replies: 68
Views: 14056

Re: Dissallowing cross coordinate-system links

I guess it's more or less up to you for now. We likely don't have such insight to know if it makes sense or not. That is from the external link policy (not code) point of view. I wouldn't mind if i could create such link to external geometry. But you say it makes your life easier if i can't do that....
by triplus
Sat Feb 18, 2017 1:47 am
Forum: Python scripting and macros
Topic: python feature propertylink
Replies: 5
Views: 960

Re: python feature propertylink

after fixing a tolerance issue with "vector1==vector2" type statements, i still can't get models to update. ... if i strip the model down completely to the sketches and reapply my python features, they are created correctly, and editing the sketches updates the features. So it's not too b...
by triplus
Sat Feb 18, 2017 1:19 am
Forum: Python scripting and macros
Topic: Multithreading in a macro?
Replies: 3
Views: 799

Re: Multithreading in a macro?

You can start multiple instances of FreeCAD (depending on threads available) and in each instance you can run the macro that does only part of the job. Edited while Ian already posted: I just remembered another option. If you use OCC 6.9.0/OCE 0.18 and up and FreeCAD 0.17 development release. You co...
by triplus
Sat Feb 18, 2017 12:22 am
Forum: Python scripting and macros
Topic: Part-o-magic [New: Selection tools, container duplication]
Replies: 152
Views: 34972

Re: Part-o-magic (again)

Note that:

Code: Select all

App.Version()[2]
Produces:

Code: Select all

'10134 +1 (Git)'
And therefore part-o-magic will fail to start. I don't know why and from where that +1 was added.
by triplus
Fri Feb 17, 2017 9:30 pm
Forum: Python scripting and macros
Topic: tutorials for my NURBS macros
Replies: 35
Views: 7353

Re: tutorials for my NURBS macros

emills2 wrote:...i have a special non-bezier grid and surface just for that task.
I like the sound of that.
by triplus
Fri Feb 17, 2017 9:12 pm
Forum: Python scripting and macros
Topic: tutorials for my NURBS macros
Replies: 35
Views: 7353

Re: tutorials for my NURBS macros

You can start building 'quilts' of CubicSurface44s like the pink ones below. No that ain't going to cut it. I'll wait. ;) Version: 0.17.9528 (Git) Yes this is similar to the version i used. If you will try the latest one (Version: 0.17.10101): https://github.com/FreeCAD/FreeCAD/releases You will li...
by triplus
Fri Feb 17, 2017 7:15 pm
Forum: Python scripting and macros
Topic: tutorials for my NURBS macros
Replies: 35
Views: 7353

Re: tutorials for my NURBS macros

Tutorial_02.png I was able to complete the second tutorial on FreeCAD 0.17 (but a few hundred commits older version). Do you use the latest FreeCAD 0.17? In this older version on page 7 of the tutorial. Moving the arc sketch (at Z: -200) similar issue: curves do not share endpoints Traceback (most ...
by triplus
Fri Feb 17, 2017 7:05 pm
Forum: Developers corner
Topic: Sketcher: Bezier curves
Replies: 433
Views: 89189

Re: Sketcher: Bezier curves

I intended to do the pull request, but I keep finding new use cases and small bugs. For example, now I thought I would like to have a NURB-izer that works differently, i.e. not substituting the shape with the new one, which is handy in other situations, but just by adding the approximation. The lat...
by triplus
Fri Feb 17, 2017 12:46 am
Forum: Python scripting and macros
Topic: tutorials for my NURBS macros
Replies: 35
Views: 7353

Re: tutorials for my NURBS macros

Hi @emills2.

Don't worry about it a bit and take your time. I don't plan to do any more tests today. And it could end up i just need to do something differently. As for the file sure no problem.
ControlGrid44 and CubicSurface44 bare bones.FCStd
(21.73 KiB) Downloaded 45 times