Part-o-magic [New: Selection tools, container duplication]

Need help, or want to share a macro? Post here!
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Locked
User avatar
DeepSOIC
Veteran
Posts: 7896
Joined: Fri Aug 29, 2014 12:45 am
Location: used to be Saint-Petersburg, Russia

Re: Part-o-magic [new tool: straighten camera]

Post by DeepSOIC »

Pauvres_honteux wrote: Sun Dec 03, 2017 10:18 am Another function may then be started to save this new camera position and direction with a suitable name, to be easy accessible later.
See it in View menu of FreeCAD.

I think there was something about it in Arch/Draft as well... but I can't find it
User avatar
DeepSOIC
Veteran
Posts: 7896
Joined: Fri Aug 29, 2014 12:45 am
Location: used to be Saint-Petersburg, Russia

Re: Part-o-magic [new tool: straighten camera]

Post by DeepSOIC »

New feature:
* Ghost

It is a shapebinder with correct placement. Ghost can penetrate walls - use it to deal with "links go out of allowed scope" errors.

Gothas:
* it prints an error when loading projects, I'm having trouble sorting it out
* placement of containers the Ghost is in cannot have expressions bound to it, or be in assembly, or otherwise be changed during a recompute. Otherwise, ghost will not correctly account for its placement, and will trigger endless recomputes.
* Ghost can be used in PartDesign, but it can only import copies of sketches into PD Body. Then, it is like a sketch itself, and can be padded, revolved and so on.
Last edited by DeepSOIC on Thu Dec 07, 2017 6:08 pm, edited 1 time in total.
freecad-heini-1
Veteran
Posts: 7791
Joined: Tue Jan 07, 2014 11:10 am
Contact:

Re: Part-o-magic [new tool: straighten camera]

Post by freecad-heini-1 »

DeepSOIC wrote: Thu Dec 07, 2017 5:49 pm New feature:
* Ghost

It is a shapebinder with correct placement. Ghost can penetrate walls - use it to deal with "links go out of allowed scope" errors.

Gothas:
* it prints an error when loading projects, I'm having trouble sorting it out
* placement of containers the Ghost is in cannot have expressions bound to it, or be in assembly, or otherwise be changed during a recompute. Otherwise, ghost will not correctly account for its placement, and will trigger endless recomputes.
* Ghost can be used in PartDesign, but it can only import copies of sketches into PD Body. Then, it is like a sketch itself, and an be padded, revolve and so on.
Ghost, thank you so much Victor. How to install? Linux Addon manager?
User avatar
DeepSOIC
Veteran
Posts: 7896
Joined: Fri Aug 29, 2014 12:45 am
Location: used to be Saint-Petersburg, Russia

Re: Part-o-magic [new feature: "Ghost" - a new shapebinder]

Post by DeepSOIC »

freecad-heini-1 wrote: Thu Dec 07, 2017 6:06 pm Ghost, thank you so much Victor. How to install? Linux Addon manager?
Update Part-o-magic, restart FreeCAD.
freecad-heini-1
Veteran
Posts: 7791
Joined: Tue Jan 07, 2014 11:10 am
Contact:

Re: Part-o-magic [new feature: "Ghost" - a new shapebinder]

Post by freecad-heini-1 »

DeepSOIC wrote: Thu Dec 07, 2017 6:08 pm
freecad-heini-1 wrote: Thu Dec 07, 2017 6:06 pm Ghost, thank you so much Victor. How to install? Linux Addon manager?
Update Part-o-magic, restart FreeCAD.
Done, and my first experiment was successful, but the cylinder looks a bit strange after boolean cut. Can you see the artefacts?
ghost_test.gif
ghost_test.gif (612.01 KiB) Viewed 1926 times
User avatar
DeepSOIC
Veteran
Posts: 7896
Joined: Fri Aug 29, 2014 12:45 am
Location: used to be Saint-Petersburg, Russia

Re: Part-o-magic [new feature: "Ghost" - a new shapebinder]

Post by DeepSOIC »

freecad-heini-1 wrote: Thu Dec 07, 2017 6:34 pm Done, and my first experiment was successful, but the cylinder looks a bit strange after boolean cut. Can you see the artefacts?
Yes, I've seen similar stuff when doing Booleans with shapebinder too. This is probably caused by transparent faces in the resulting shape.
freecad-heini-1
Veteran
Posts: 7791
Joined: Tue Jan 07, 2014 11:10 am
Contact:

Re: Part-o-magic [new feature: "Ghost" - a new shapebinder]

Post by freecad-heini-1 »

DeepSOIC wrote: Thu Dec 07, 2017 6:38 pm
freecad-heini-1 wrote: Thu Dec 07, 2017 6:34 pm Done, and my first experiment was successful, but the cylinder looks a bit strange after boolean cut. Can you see the artefacts?
Yes, I've seen similar stuff when doing Booleans with shapebinder too. This is probably caused by transparent faces in the resulting shape.
Agree. I changed the colour of the cutted cylinder and everything looks fine.
What I nice feature, ghost. I'm sure, many Freecad users will appreciate ghost.
I am the first fan.
freecad-heini-1
Veteran
Posts: 7791
Joined: Tue Jan 07, 2014 11:10 am
Contact:

Re: Part-o-magic [new feature: "Ghost" - a new shapebinder]

Post by freecad-heini-1 »

Hi Victor,
please can you check what's going on with part-o-magic and the Ghost feature.
It slow down my Freecad and has some strange behavior.
I like to use a shapegroup and move parts per drag & drop into it.
The benefit is, that I can move and rotate the shapegroup as a "compound" or a kind of assembly with the transform-tool or placement.
But if there are objects inside based on a sketch and I need to change the sketch, I must click two or three times.
Sometimes I need to end my document and restart, so I recommend to save the file often.
I hope you can make part-o-magic a bit more stable.

Best regards

Wilfried
User avatar
DeepSOIC
Veteran
Posts: 7896
Joined: Fri Aug 29, 2014 12:45 am
Location: used to be Saint-Petersburg, Russia

Re: Part-o-magic [new feature: "Ghost" - a new shapebinder]

Post by DeepSOIC »

freecad-heini-1 wrote: Thu Mar 15, 2018 6:17 pm please can you check what's going on with part-o-magic and the Ghost feature.
It slow down my Freecad and has some strange behavior.
I like to use a shapegroup and move parts per drag & drop into it.
Can you give a specific bug report, with step-by-step instructions?

Ghost is going to slow stuff down, and I'm afraid there is no way around it. But having a specific project where it is slow should help at least try to optimize it.

Is it something new, say it appeared a week ago or so, or was it like so from the beginning?
freecad-heini-1
Veteran
Posts: 7791
Joined: Tue Jan 07, 2014 11:10 am
Contact:

Re: Part-o-magic [new feature: "Ghost" - a new shapebinder]

Post by freecad-heini-1 »

DeepSOIC wrote: Thu Mar 15, 2018 6:39 pm
freecad-heini-1 wrote: Thu Mar 15, 2018 6:17 pm please can you check what's going on with part-o-magic and the Ghost feature.
It slow down my Freecad and has some strange behavior.
I like to use a shapegroup and move parts per drag & drop into it.
Can you give a specific bug report, with step-by-step instructions?

Ghost is going to slow stuff down, and I'm afraid there is no way around it. But having a specific project where it is slow should help at least try to optimize it.
I will try to create an example assembly for to replicate this issue.
DeepSOIC wrote: Thu Mar 15, 2018 6:39 pm Is it something new, say it appeared a week ago or so, or was it like so from the beginning?
It's from the beginning, but I used part-o-magic not so much in the past. But now I will need it more and more.
Locked