Search found 4 matches

by brainrom
Mon Feb 06, 2017 5:17 am
Forum: Python scripting and macros
Topic: Existing object to script object.
Replies: 6
Views: 1536

Re: Existing object to script object.

Maybe i can create script, that reads objects' names and their properties and creates a creation code. It's have any sense? What is the correct way?
by brainrom
Mon Feb 06, 2017 3:41 am
Forum: Python scripting and macros
Topic: Existing object to script object.
Replies: 6
Views: 1536

Re: Existing object to script object.

No. This is not what i want. I saw this code. By it i only get selected object and print it's name and type. I need to create a code that creates my object. How? Using manually created objects and change its' properties is not solution. Only python script.
by brainrom
Sun Feb 05, 2017 5:24 pm
Forum: Python scripting and macros
Topic: Existing object to script object.
Replies: 6
Views: 1536

Existing object to script object.

Hi.
I want to create a script object from an object that I created in FreeCAD. How can I do this without recreating it from scratch?
by brainrom
Sun Feb 05, 2017 5:16 pm
Forum: Форум на русском языке
Topic: Сделать из существующего объекта скриптовой
Replies: 1
Views: 1464

Сделать из существующего объекта скриптовой

Здравствуйте. Потихоньку изучаю FreeCAD, нашёл возможность скриптования, меня она заинтересовала, поскольку с программированием знаком хорошо.Появилась вот такая задача. Есть у меня чертеж из сделанный из примитивов булевыми операциями (последняя - объединение), а параметры примитивов связаны между ...