Search found 379 matches

Go to advanced search

by onekk
Sun Jun 07, 2020 12:34 pm
Forum: Forum Italiano
Topic: Quando utilizzare corpi separati
Replies: 8
Views: 231

Re: Quando utilizzare corpi separati

Esempio: vorrei modellare un semplice cacciavite. Possiamo immaginarlo costituito da diverse parti tutte coassiali e impilate: - parte iniziale del manico arrotondata (cilindro smussato) - manico (cerchio estruso, sweep, lungo un arco di ellisse) - parte finale del manico, vedi sopra - asta (cilind...
by onekk
Thu Jun 04, 2020 9:45 am
Forum: Python scripting and macros
Topic: Parent of Selected Mesh Object.
Replies: 4
Views: 129

Re: Parent of Selected Mesh Object.

So they are not used,

but parent object in which sense, I've not used much the Mesh part, only to trasform a solid to export in a STL file.

So I've seen Mesh object not children of other objects.

Regards

Carlo D.
by onekk
Wed Jun 03, 2020 1:52 pm
Forum: Python scripting and macros
Topic: Parent of Selected Mesh Object.
Replies: 4
Views: 129

Re: Parent of Selected Mesh Object.

What means Parent?

Try to print "InList" or "InListRecursive" property content it may be what you are searching for.

If I remember good if an object is in a Compound it will give the list of the parents.

Hope it helps

Carlo D.
by onekk
Wed Jun 03, 2020 9:55 am
Forum: Forum Italiano
Topic: menù ambiente Draft
Replies: 15
Views: 475

Re: menù ambiente Draft

Ovviamente le AppImage devono decompriere in una directory temporanea una specie di "piccolo ambiente di sviluppo dove gira FreeCAD". In questo ambiente hai le opportune librerie con le giuste versioni, una specie di distribuzione linux separata che usa solo la libreria glibc del computer. Il ritard...
by onekk
Wed Jun 03, 2020 9:42 am
Forum: Python scripting and macros
Topic: Creating a standalone Python program to create a complex collection of objects
Replies: 5
Views: 220

Re: Creating a standalone Python program to create a complex collection of objects

importlib has some quirks, if you are developing a complex objects, it doesn't update correctly the library. Let me explain: If you ave a single python file containing the library, using importlib reload works, it reloads the single file if it is modified outside freecad (generally i develop using a...
by onekk
Mon Jun 01, 2020 5:22 pm
Forum: Python scripting and macros
Topic: Problem with wiki mesh difference example
Replies: 9
Views: 352

Re: Problem with wiki mesh difference example

Yes you are right, it is an example for transforming a part into a mesh, but, if you want "design" something, it have no sense to use meshes that are not taylored for that work. I have missed import MeshPart (sorry) i have copied by hand some code I'm using. In my FreeCAD adventure I have learned th...
by onekk
Mon Jun 01, 2020 1:41 pm
Forum: Python scripting and macros
Topic: Problem with wiki mesh difference example
Replies: 9
Views: 352

Re: Problem with wiki mesh difference example

import Part import Mesh from FreeCAD import Vector, Rotation outer = Part.makeCylinder(2,10) hole = Part.makeCylinder(1, 11) hole.Placement = FreeCAD.Placement(Vector(0,0,-0.5), Rotatation()) obj = outer.cut(hole) # This is the 3d object generated as a solid. mesh = doc.addObject("Mesh::Feature", "...
by onekk
Mon Jun 01, 2020 1:08 pm
Forum: Forum Italiano
Topic: menù ambiente Draft
Replies: 15
Views: 475

Re: menù ambiente Draft

Una ipotesi è la corruzione della directory "utente" di FreeCAD. A volte dopo aver pasticciato con l'interfaccia grafica l'unico modo che ho trovato è stato quello di cancellare la directory utente, dopo aver salvato le macro e alcune personalizzazioni e far ripartire FreeCAD. Se non viene trovata u...
by onekk
Sun May 31, 2020 4:42 pm
Forum: Forum Italiano
Topic: menù ambiente Draft
Replies: 15
Views: 475

Re: menù ambiente Draft

Prova ad usre le appimage, in genere vanno meglio perché sono slegate dalle librerie installate nel sistema operativo. Sono più corpose come download, ma ti permettono ad esempio di avere sia la versione in sviluppo che quella stabile. Sono anche aggiornabili come pugrade, cioè scaricando solo la po...
by onekk
Sun May 31, 2020 3:12 pm
Forum: Python scripting and macros
Topic: Add method to PythonObject [SOLVED]
Replies: 7
Views: 236

Re: Add method to PythonObject

@expose is a python decorator, (I don't know exactly what is the purpose of a decorator) I've downloaded FreeCAD sources, that I've downloaded to study them some weeks ago, (0.19 branch, not up to date, but useful, I don't want to use much bandwidth, as I'm on pay for X GB connection, and my childre...

Go to advanced search