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

Need help, or want to share a macro? Post here!
User avatar
DeepSOIC
Posts: 7291
Joined: Fri Aug 29, 2014 12:45 am
Location: Saint-Petersburg, Russia

Re: Part-o-magic [New tool: X-ray]

Post by DeepSOIC » Fri May 18, 2018 11:26 pm

easyw-fc wrote:
Fri May 18, 2018 9:20 pm
would it be possible to keep the edge/face selected on first click as selected also when X-ray button is clicked?
yes, it actually took some effort to clear that selection =)
I did it because it looked quite strange when selected face remained...

If you want to play with it, locate Mod/Part-O-Magic/PartOMagic/Gui/View/XRay.py, and comment out the line that clears selection (line 51). Your request sounds reasonable. I'll give it a think/try again.
triplus
Posts: 9120
Joined: Mon Dec 12, 2011 4:45 pm

Re: Part-o-magic [New tool: X-ray]

Post by triplus » Sat May 19, 2018 8:37 am

Nice!
freecad-heini-1
Posts: 6407
Joined: Tue Jan 07, 2014 11:10 am
Contact:

Re: Part-o-magic [New tool: X-ray]

Post by freecad-heini-1 » Sat May 19, 2018 11:01 am

That is a very helpful tool. I with to have an xray view like Solidworks, Creo and others.
User avatar
easyw-fc
Posts: 2770
Joined: Thu Jul 09, 2015 9:34 am

Re: Part-o-magic [New tool: X-ray]

Post by easyw-fc » Fri May 25, 2018 12:35 pm

DeepSOIC wrote:
Fri May 18, 2018 11:26 pm
If you want to play with it...
Hi @DeepSOIC,
I use quite a lot STEP import/export in FreeCAD... then 'Part' container is very common...
It would be possible to have your Ghost working also with a 'Part' assembly?
For example I would need to make a Cut or a Union of objects from a Part container with external objects or even with an other Part container...
ATM I need to make a deep copy of the 'Part' container and make the boolean with those.. but this will not be parametric... with your Ghost it will be :)
Thx for having a look at
Maurice
User avatar
DeepSOIC
Posts: 7291
Joined: Fri Aug 29, 2014 12:45 am
Location: Saint-Petersburg, Russia

Re: Part-o-magic [New tool: X-ray]

Post by DeepSOIC » Fri May 25, 2018 2:15 pm

easyw-fc wrote:
Fri May 25, 2018 12:35 pm
It would be possible to have your Ghost working also with a 'Part' assembly?
For example I would need to make a Cut or a Union of objects from a Part container with external objects or even with an other Part container...
Hi!, yes that is possible, but I will more likely make it as an independent tool, rather than cramming it into ghost.

Since you asking about ghost, does it mean it has to be cross-container and placement-capable like ghost is?
User avatar
easyw-fc
Posts: 2770
Joined: Thu Jul 09, 2015 9:34 am

Re: Part-o-magic [New tool: X-ray]

Post by easyw-fc » Fri May 25, 2018 2:26 pm

DeepSOIC wrote:
Fri May 25, 2018 2:15 pm
easyw-fc wrote:
Fri May 25, 2018 12:35 pm
It would be possible to have your Ghost working also with a 'Part' assembly?
For example I would need to make a Cut or a Union of objects from a Part container with external objects or even with an other Part container...
Hi!, yes that is possible, but I will more likely make it as an independent tool, rather than cramming it into ghost.
that sounds even better :D
DeepSOIC wrote:
Fri May 25, 2018 2:15 pm
Since you asking about ghost, does it mean it has to be cross-container and placement-capable like ghost is?
yes, cross-container and placement capable would be perfect, and if possible, it would be nice to get all the sub-objects (like 'Part' in 'Part' hierarchy)

Thanx a lot for your work, this would help a lot in many STEP handling.
Maurice
PS I'm excited also in waiting for a new Icon too ;)
User avatar
DeepSOIC
Posts: 7291
Joined: Fri Aug 29, 2014 12:45 am
Location: Saint-Petersburg, Russia

Re: Part-o-magic [New tool: X-ray]

Post by DeepSOIC » Tue May 29, 2018 4:56 pm

easyw-fc wrote:
Fri May 25, 2018 12:35 pm
...
Done!

New feature:
* MUX assembly
Copies all shapes from Part hierarchy into a compound of same hierarchy. Supports exculsion list (names), compound flattening (for fusion), and is ghost-like (takes container placements into account).
freecad-heini-1
Posts: 6407
Joined: Tue Jan 07, 2014 11:10 am
Contact:

Re: Part-o-magic [New tool: X-ray]

Post by freecad-heini-1 » Tue May 29, 2018 5:10 pm

DeepSOIC wrote:
Tue May 29, 2018 4:56 pm
easyw-fc wrote:
Fri May 25, 2018 12:35 pm
...
Done!

New feature:
* MUX assembly
Copies all shapes from Part hierarchy into a compound of same hierarchy. Supports exculsion list (names), compound flattening (for fusion), and is ghost-like (takes container placements into account).
Whow, great. Thank you so much Viktor.

@Viktor, please can you show an example on how to use.
User avatar
easyw-fc
Posts: 2770
Joined: Thu Jul 09, 2015 9:34 am

Re: Part-o-magic [New tool: X-ray]

Post by easyw-fc » Tue May 29, 2018 7:38 pm

DeepSOIC wrote:
Tue May 29, 2018 4:56 pm
Done!

New feature:
* MUX assembly
Copies all shapes from Part hierarchy into a compound of same hierarchy. Supports exculsion list (names), compound flattening (for fusion), and is ghost-like (takes container placements into account).
Great Thanks a lot! Part-o-magic is doing the Magic again! :)
Just an other small request... it would be possible to keep also face colors in the MUX container?
Thanks a lot again! :D
Maurice
User avatar
DeepSOIC
Posts: 7291
Joined: Fri Aug 29, 2014 12:45 am
Location: Saint-Petersburg, Russia

Re: Part-o-magic [New tool: MUX Assembly]

Post by DeepSOIC » Tue May 29, 2018 9:05 pm

easyw-fc wrote:
Tue May 29, 2018 7:38 pm
it would be possible to keep also face colors in the MUX container?
Ugh, I know you love colors :P but I still haven't looked into if it is possible to copy face colors with python.
Locked

Who is online

Users browsing this forum: No registered users and 6 guests