Search found 626 matches

by aapo
Fri Sep 29, 2023 12:21 pm
Forum: Assembly
Topic: ASM4 workflow for complex variable assemblies
Replies: 4
Views: 5627

Re: ASM4 workflow for complex variable assemblies

If anyone knows how to get around this circular reference problem (I even don't really understand why there is a circular reference in the first place) please let me know. Atm I think of using an external spreadsheet or a macro for that, but it would make things more complicated. Basically, the pro...
by aapo
Mon Sep 25, 2023 7:38 am
Forum: TechDraw
Topic: TechDraw export SVG gives me double lines
Replies: 8
Views: 890

Re: TechDraw export SVG gives me double lines

I'm a little confused here. I exported (using the icon in TD) sheet1 and sheet2 of "drawers__aa_03_01" and could not find any overlapping lines. I didn't check every line. Which lines are overlapped? You may have a large enough number in the "Overlap Edges Scrub Passes" TechDraw...
by aapo
Mon Sep 04, 2023 11:42 am
Forum: TechDraw
Topic: [FIXED] Two centerlines in TechDraw cause Access Violation
Replies: 4
Views: 695

Re: [BUG?] Two centerlines in TechDraw cause Access Violation

Pretty sure this is fixed in master. Hi, confirmed fixed in the latest weekly version 34137. Thanks! :D OS: Windows 10 build 19045 Word size of FreeCAD: 64-bit Version: 0.22.0dev.34137 (Git) Build type: Release Branch: master Hash: 7ca834acc58841dcf2d66d186db818c8f35f359d Python 3.10.12, Qt 5.15.8,...
by aapo
Fri Sep 01, 2023 6:37 am
Forum: TechDraw
Topic: [FIXED] Two centerlines in TechDraw cause Access Violation
Replies: 4
Views: 695

[FIXED] Two centerlines in TechDraw cause Access Violation

Hi! There seems to be some problem with recent FreeCAD when creating multiple centerlines in TD. Two centerlines in TechDraw cause Access Violation and the centerlines disappear. 20230901 FreeCAD TD Centerline Access Violation pic01.gif 09:17:15 Centerline endpoints are equal. Could not draw. 09:17:...
by aapo
Fri Aug 25, 2023 1:47 pm
Forum: Developers corner
Topic: When activating a App::Part, the active object is not a App::Part
Replies: 17
Views: 2028

Re: isDerivedFrom("App::Part") doesn't seem to work.

Yes, that's a different ActiveObject (Gui.ActiveDocument.ActiveObject), and you could use that, too. There are two, namely App.ActiveDocument.ActiveObject returns App's ActiveObject (i.e. last created object), and Gui.ActiveDocument.ActiveObject returns the Gui's ActiveObject, (i.e. the object bold...
by aapo
Fri Aug 25, 2023 12:43 pm
Forum: Developers corner
Topic: When activating a App::Part, the active object is not a App::Part
Replies: 17
Views: 2028

Re: isDerivedFrom("App::Part") doesn't seem to work.

I thought that double clicking in the tree makes the object 'Active'. At least that is what is expected as the object becomes Bold. Also in Part Design you double click to activate a body. Besides, double clicking a App::Part writes in the python console : >>> # Gui.ActiveDocument.ActiveView.setAct...
by aapo
Fri Aug 25, 2023 12:25 pm
Forum: Developers corner
Topic: When activating a App::Part, the active object is not a App::Part
Replies: 17
Views: 2028

Re: isDerivedFrom("App::Part") doesn't seem to work.

Create a App::Part. Make it active by double clicking it. Then : App.ActiveDocument.ActiveObject.isDerivedFrom("App::Part") There is also a false premise here; you cannot make an object "ActiveObject" by double clicking it; as far as I know "ActiveObject" is the last c...
by aapo
Fri Aug 25, 2023 12:05 pm
Forum: Developers corner
Topic: When activating a App::Part, the active object is not a App::Part
Replies: 17
Views: 2028

Re: isDerivedFrom("App::Part") doesn't seem to work.

Edit: You are right it works if the object is created in the console. So the issue seems that the ActiveObject returns the App::Part as a App::GeoFeature instead. Yes. >>> App.ActiveDocument.ActiveObject <GeoFeature object> >>> App.ActiveDocument.ActiveObject.Parents [(<Part object>, 'Origin.YZ_Pla...
by aapo
Fri Aug 25, 2023 11:46 am
Forum: Developers corner
Topic: When activating a App::Part, the active object is not a App::Part
Replies: 17
Views: 2028

Re: isDerivedFrom("App::Part") doesn't seem to work.

To reproduce : Create a App::Part. Make it active by double clicking it. Then : App.ActiveDocument.ActiveObject.isDerivedFrom("App::Part") False App.ActiveDocument.ActiveObject.isDerivedFrom("App::GeoFeature") True Any idea what I'm doing wrong here ? Hmm, could it be the defini...
by aapo
Mon Aug 07, 2023 8:57 am
Forum: TechDraw
Topic: Opinions on Including Cosmetic Edges in Face Finding?
Replies: 5
Views: 893

Re: Opinions on Including Cosmetic Edges in Face Finding?

Currently, CosmeticEdges participate in face finding, so adding a CosmeticEdge can mess up face numbering. I'm inclined to say that faces are geometry that shouldn't be affected by cosmetics. Opinions? How about adding a property to each individual Cosmetic line? Property could be named "Affec...