Search found 124 matches

by Petert
Sat Nov 20, 2021 9:08 pm
Forum: Python scripting and macros
Topic: Woodworking - getDimensions
Replies: 109
Views: 38850

Re: Woodworking - getDimensions

Never mind, moving on.
by Petert
Sat Nov 20, 2021 8:26 pm
Forum: Python scripting and macros
Topic: Woodworking - getDimensions
Replies: 109
Views: 38850

Re: Woodworking - getDimensions

I know what you asking for. You want macro acting like a human, see 3D model and calculate dimensions. No, not at all. From macro programming level you see only bunch of objects, even not sorted. You can only go thru each object and check the object type, get any field but you don't see common edge...
by Petert
Sat Nov 20, 2021 4:27 pm
Forum: Python scripting and macros
Topic: Woodworking - getDimensions
Replies: 109
Views: 38850

Re: Woodworking - getDimensions

case thickness 18 This can be done by macro by getting the minimum property value. cabinet height 2400 cabinet width 1015 cabinet depth 500 The problem is that script, macro or any program is not a human and it not see the 3D model. Macro don't know what you want to do with all the elements, how th...
by Petert
Sat Nov 20, 2021 9:15 am
Forum: Python scripting and macros
Topic: Woodworking - getDimensions
Replies: 109
Views: 38850

Re: Woodworking - getDimensions

All the pads are depended on a sketch, the sketch has the x and y values, the pad adds the z value (very simplistically explained) Most values in the sketches and the Pad's are defined and calculated in the spreadsheet, that way everything behaves parametric. OK, so in Spreadsheet you have somethin...
by Petert
Fri Nov 19, 2021 7:00 pm
Forum: Python scripting and macros
Topic: Woodworking - getDimensions
Replies: 109
Views: 38850

Re: Woodworking - getDimensions

I just want a part list, a BOM would be very nice. I will look into some other scripts that might work. I especially liked yours because it is mature and has a very nice output. Even an interface to for example OpenBom would be very nice. Nice to hear that, however I still don't know how you create...
by Petert
Fri Nov 19, 2021 6:25 pm
Forum: Python scripting and macros
Topic: Woodworking - getDimensions
Replies: 109
Views: 38850

Re: Woodworking - getDimensions

I don't know what is going on there. The Pads (Unnamed objects in folders) have only two properties Length and Length2. The other Unnamed objects have no properties, no dimensions. I have no idea how you create the Spreadsheet table, values and names. What you want to calculate there exactly? I jus...
by Petert
Thu Nov 18, 2021 8:34 am
Forum: Python scripting and macros
Topic: Woodworking - getDimensions
Replies: 109
Views: 38850

Re: Woodworking - getDimensions

Please share some Demo sample with your furniture, I mean the FreeCAD file, or screenshots of FreeCAD Tree folder, in order to see how the furniture is made and what is the folder content and structure. If you want to search you have to know what search and where. So maybe I will give you some advi...
by Petert
Wed Nov 17, 2021 2:09 pm
Forum: Python scripting and macros
Topic: Woodworking - getDimensions
Replies: 109
Views: 38850

Re: Woodworking - getDimensions

Problem is that my wood sheets are made as Pads in the PartDesign workbench. I do know a little about programming but I am not able to adjust your wonderful script to use Pads instead of Cubes. Is there any change you could help me towards a solution? Personally, I don't use Sketch and Pads during ...
by Petert
Wed Nov 17, 2021 9:50 am
Forum: Python scripting and macros
Topic: Woodworking - getDimensions
Replies: 109
Views: 38850

Re: Woodworking - getDimensions

This is almost exactly what I was looking for.
Problem is that my wood sheets are made as Pads in the PartDesign workbench. I do know a little about programming but I am not able to adjust your wonderful script to use Pads instead of Cubes.

Is there any change you could help me towards a solution?