Search found 27 matches

by derMart
Sun Mar 10, 2024 10:26 am
Forum: Help on using FreeCAD
Topic: Pad doesn't work after Loft
Replies: 4
Views: 423

Re: Pad doesn't work after Loft

Ah sorry, no the order was not consistent, I was confused by the coloring scheme of what is selected and what isn't if the sketch is fully constrained (in this case the selected element is darker then the non selected elements, that is against general logic of highlighting selections, which are usua...
by derMart
Sun Mar 10, 2024 10:14 am
Forum: Help on using FreeCAD
Topic: Pad doesn't work after Loft
Replies: 4
Views: 423

Re: Pad doesn't work after Loft

I have the exact same problem: Screenshot from 2024-03-10 11-02-08.png But I sadly do not get the solution. 1) The screenshot posted by fsgunawan does not contain the "Pad001" anymore *shrug* 2) I sadly do not understand your sentence chrisb . For my case, the loft contains what is called ...
by derMart
Mon Nov 28, 2022 10:52 pm
Forum: Python scripting and macros
Topic: How to get Face Name or Face ID in Box Part?
Replies: 13
Views: 3262

Re: How to get Face Name or Face ID in Box Part?

Hi, thanks alot, but I am afraid that was not what my question is about. I know that FreeCADGui.Selection.getSelectionEx() will give sub element names. But that only works if things are selected :D. For objects which are not selected, it is not possible to get sub element names via the API, hence th...
by derMart
Sun Nov 27, 2022 9:34 pm
Forum: Python scripting and macros
Topic: How to get Face Name or Face ID in Box Part?
Replies: 13
Views: 3262

Re: How to get Face Name or Face ID in Box Part?

I do have the exact same problem as freecadlzh . I am using the link branch by realthunder . I want to add a specific face to the selection. Found out this can be done via FreeCADGui.Selection.addSelection(applicationName,objectName,faceName) so for example: FreeCADGui.Selection.addSelection('myappl...
by derMart
Sun Nov 27, 2022 7:51 pm
Forum: Python scripting and macros
Topic: C++ / Python source code location (=path in repo) of FreeCADGui and FreeCADGui.Selection
Replies: 2
Views: 447

C++ / Python source code location (=path in repo) of FreeCADGui and FreeCADGui.Selection

Hi, I am trying to start macro scripting and looking for documentation of the available Python bindings. https://wiki.freecadweb.org/Selection_API is sadly quite incomplete, so I wanted to directly look at the source code which should give me everything I need (basically available functions, their s...
by derMart
Mon Jun 20, 2022 9:18 pm
Forum: Open discussion
Topic: From sketcher carbon copy tool to general discussion about cyclic dependency checking
Replies: 36
Views: 3444

Re: From sketcher carbon copy tool to general discussion about cyclic dependency checking

but this is what you would get with a bidirectional carbon copy :? (with some additional junk due to the duplicated geometry) To not get any misunderstandings: The examples are just there to illustrate that no cyclic dependencies exists after carbon copy. Of course this is not a real world example....
by derMart
Mon Jun 20, 2022 8:04 am
Forum: Open discussion
Topic: From sketcher carbon copy tool to general discussion about cyclic dependency checking
Replies: 36
Views: 3444

Re: From sketcher carbon copy tool to general discussion about cyclic dependency checking

@bambuko I changed the title to hopefully reflect the discussion better
by derMart
Sun Jun 19, 2022 10:21 pm
Forum: Open discussion
Topic: From sketcher carbon copy tool to general discussion about cyclic dependency checking
Replies: 36
Views: 3444

Re: How to use Sketcher Carbon Copy tool (in realthunder / link branch)

Thanks alot for your answer. you are proposing a new behavior, this is not the intended use of carbon copy, carbon copy is linked to the original through expressions, what you want would be a regular copy. Besides, the superimposed rectangle would most likely make the sketch invalid for PD operation...
by derMart
Sun Jun 19, 2022 4:00 pm
Forum: Open discussion
Topic: From sketcher carbon copy tool to general discussion about cyclic dependency checking
Replies: 36
Views: 3444

Re: How to use Sketcher Carbon Copy tool (in realthunder / link branch)

To absolutely get this right I had another look at the documentation. This line was a bit confusing to me: "Dimensional constraints which exist before the copy function remain linked to the original sketch's dimensional constraints through expressions." But I think now I got what it does. ...
by derMart
Sun Jun 19, 2022 9:25 am
Forum: Open discussion
Topic: From sketcher carbon copy tool to general discussion about cyclic dependency checking
Replies: 36
Views: 3444

Re: How to use Sketcher Carbon Copy tool (in realthunder / link branch)

You have already made a carbon copy of sketch into sketch001! you can't have that and make a carbon copy of sketch001 into sketch, as the error correctly says that is a cyclic dependency! Nope, sure you can, please read my last post. It is an extensive description why a copy operation (of the type ...