Search found 6205 matches

by onekk
Sun Apr 07, 2024 8:38 am
Forum: Python scripting and macros
Topic: Auto-reload modified script using external editor
Replies: 3
Views: 354

Re: Auto-reload modified script using external editor

Hello, probably there is no way to avoid dialog box asking if you want to reload the script. IMHO is a safety meaure, as you could have made modifications with internal editor and loose the changes. About auto execution after changes, better not for security reason as malicious code should be inject...
by onekk
Sat Apr 06, 2024 8:10 am
Forum: Help on using FreeCAD
Topic: pocket does not cut through additive pipe
Replies: 12
Views: 804

Re: pocket does not cut through additive pipe

the 0.001 mm thing seems one of the known workaround for two possible "race conditions" that sometimes puzzles the geometric kernel: - coplanar objects - seams (the little line that you see in cylinders, cones and others curved surfaces) they have some geometric reasons (probably due to l ...
by onekk
Fri Apr 05, 2024 5:53 am
Forum: Help on using FreeCAD
Topic: pocket does not cut through additive pipe
Replies: 12
Views: 804

Re: pocket does not cut through additive pipe

... If I am not mistaken, you experienced the same problem as me. Can you please provide your version info? It is not a version problem, or a bug. It is that: - mixing PartDesign with Part WB has to be done carefully. - "Refine" = True has to be used carefully as it introduced some peculi...
by onekk
Fri Apr 05, 2024 5:31 am
Forum: Help on using FreeCAD
Topic: Making pocket/hole should be easy...?
Replies: 11
Views: 676

Re: Making pocket/hole should be easy...?

... Should be easy! But I'm having an issue nevertheless... ... a video I watched on YouTube said pocketing is easier than making a hole ... ... I can understand this because the object I'm making is kind of made of three different parts, but I really don't want to redo the whole object again as on...
by onekk
Wed Apr 03, 2024 4:58 pm
Forum: Python scripting and macros
Topic: Function to convert a Label to a Name.
Replies: 6
Views: 514

Re: Function to convert a Label to a Name.

Probably not, but in:

viewtopic.php?p=290741#p290741

there is this code:

Code: Select all

def varname(obj):
    l = obj.Label.replace(' ', '_').replace('.', '_')

    if l[0].isdigit():
        l = '_' + l
    return l

That should work in many cases.

Kind regards

Carlo D.
by onekk
Tue Apr 02, 2024 9:24 pm
Forum: Assembly
Topic: How to prevent items from intersecting?
Replies: 3
Views: 413

Re: How to prevent items from intersecting?

Hello, please follow:

http://forum.freecadweb.org/viewtopic.php?f=3&t=2264

To post more information about FreeCAD version you use.

And a file will be helpful to guess things.

If not is difficult to guess even what you are trying to obtain.

Kind regards

Carlo D.
by onekk
Mon Apr 01, 2024 8:39 pm
Forum: Help on using FreeCAD
Topic: Fillets fail after moving objects (now with file!)
Replies: 6
Views: 451

Re: Fillets fail after moving objects (now with file!)

In other words the TNP can't be prevented. ... TNP stand for Topo Naming Problem. You build TopoShapes i.e. Topological Shapes, so it is in the shape that reside the problem. If a function uses edges from a preceding operation and refer to this edge using its "internal order number" if th...
by onekk
Mon Apr 01, 2024 10:49 am
Forum: Help on using FreeCAD
Topic: SVG Turns up on wrong side
Replies: 10
Views: 668

Re: SVG Turns up on wrong side

Thanks, will continue to experiment. Tried other PNG to SVG converters but they were much worse. Not every bitmap or raster images could be translated in vector graphics, that is what VG means in SVG. Inkscape is quite good but there are other tools, if I remember correctly Inkscape is using potrac...
by onekk
Mon Apr 01, 2024 9:41 am
Forum: Python scripting and macros
Topic: Code error
Replies: 2
Views: 283

Re: Code error

Error is clear, an indentation block is expected!

As said with a line if code is hard to tell where the problem reside.

Kind regards

Carlo D.
by onekk
Mon Apr 01, 2024 9:39 am
Forum: Python scripting and macros
Topic: Iterating through a configuration table
Replies: 3
Views: 382

Re: Iterating through a configuration table

You could start with Wiki pages about Scripting.

When you have problems ask here, adding some code.

With code is more easy to point out what are the critical points on your ideas and/or suggest alternative code to do what you intend.

Kind regards

Carlo D.