Part-o-magic (again)

Need help, or want to share a macro? Post here!
triplus
Posts: 4993
Joined: Mon Dec 12, 2011 4:45 pm

Re: Part-o-magic (again) [new feature: Exporter]

Postby triplus » Tue Mar 07, 2017 11:18 pm

I actually use something like that occasionally (in form of macro). I could therefore use Exporter in the future instead.

I did some tests and i guess i could use more Exporter features instead. But if you could provide an option to somehow set more extensions for a single Exporter feature that would be cool.
DeepSOIC
Posts: 4689
Joined: Fri Aug 29, 2014 12:45 am
Location: Saint-Petersburg, Russia

Re: Part-o-magic (again) [new feature: Exporter]

Postby DeepSOIC » Tue Mar 07, 2017 11:42 pm

triplus wrote:But if you could provide an option to somehow set more extensions for a single Exporter feature that would be cool.
You mean you want one exporter object to export two different formats at once, e.g. "Export Sphere" to write out Sphere.step and Sphere.stl? Not sure if I'd go for it, as I don't see a nice way to do that (well, I mean, nice yet easy to implement).
triplus
Posts: 4993
Joined: Mon Dec 12, 2011 4:45 pm

Re: Part-o-magic (again) [new feature: Exporter]

Postby triplus » Tue Mar 07, 2017 11:52 pm

DeepSOIC wrote:You mean you want one exporter object to export two different formats at once, e.g. "Export Sphere" to write out Sphere.step and Sphere.stl? Not sure if I'd go for it, as I don't see a nice way to do that (well, I mean, nice yet easy to implement).


To be honest i can add more Exporter features and set them up with ease to do that. Therefore lets keep things simple indeed.
HoWil
Posts: 446
Joined: Sun Jun 14, 2015 7:31 pm
Location: Austria

Re: Part-o-magic (again) [new feature: Exporter]

Postby HoWil » Sat Mar 11, 2017 1:13 pm

DeepSOIC wrote:Request

Hi DeepSOIC,

Could you please provide your wb for/in the "Addon manager" (https://forum.freecadweb.org/viewtopic.php?f=34&t=20091).
Would make it much easier to install/use it.

BR,
HoWil
DeepSOIC
Posts: 4689
Joined: Fri Aug 29, 2014 12:45 am
Location: Saint-Petersburg, Russia

Re: Part-o-magic (again) [new feature: Exporter]

Postby DeepSOIC » Sat Mar 11, 2017 2:08 pm

Sure, when I have time to write up a readme.
HoWil
Posts: 446
Joined: Sun Jun 14, 2015 7:31 pm
Location: Austria

Re: Part-o-magic (again) [new feature: Exporter]

Postby HoWil » Sat Mar 11, 2017 3:35 pm

DeepSOIC wrote:Sure, when I have time to write up a readme.

Good point :D . Still not sure if I understand the complete concept/usecase, but looking forward to test it. Especially for structuring my half-part-design-next half-part models.

BR,
HoWil
User avatar
nemesis
Posts: 200
Joined: Tue Mar 25, 2014 11:24 pm
Location: France, Lyon

Re: Part-o-magic (again)

Postby nemesis » Sat Mar 11, 2017 6:14 pm

DeepSOIC wrote:Important. Part-o-magic messes with "DisplayModeBody" properties of PartDesign Body objects, and "Selectable" properties of all objects. If you uninstall Part-o-magic, or disable its automation stuff, it will cause somewhat unusual behavior of any projects that were saved with part-o-magic enabled and had any container objects present. You can reset them manually with property editor, or run this simple snippet in Py console:

Hi !
Is this the reason why I have lots of problem with boolean operation while PoM is installed?
even without using it, I'm unable to make a boolean between bodies if Pom Is installed.
DeepSOIC
Posts: 4689
Joined: Fri Aug 29, 2014 12:45 am
Location: Saint-Petersburg, Russia

Re: Part-o-magic (again)

Postby DeepSOIC » Sat Mar 11, 2017 6:55 pm

nemesis wrote:I have lots of problem with boolean operation while PoM is installed?
even without using it, I'm unable to make a boolean between bodies if Pom Is installed.
Is it PartDesign Booleans, or Part Booleans? If latter, please elaborate.
User avatar
nemesis
Posts: 200
Joined: Tue Mar 25, 2014 11:24 pm
Location: France, Lyon

Re: Part-o-magic (again)

Postby nemesis » Sat Mar 11, 2017 7:19 pm

DeepSOIC wrote: Is it PartDesign Booleans, or Part Booleans? If latter, please elaborate.

That's Part design boolean, and indeed, I just test, and the property "selectable" was set to false after activating the body.
I also notice that if PoM is here, if you activate a body, the others are hided. Again, without any feature from PoM

OS: Mac OS X
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.17.10460 (Git)
Build type: Release
Branch: (detached from 91c59c7)
Hash: 91c59c7910436c44ede608e29d9a90a287121a11
Python version: 2.7.13
Qt version: 4.8.7
Coin version: 4.0.0a
OCC version: 7.1.0
DeepSOIC
Posts: 4689
Joined: Fri Aug 29, 2014 12:45 am
Location: Saint-Petersburg, Russia

Re: Part-o-magic (again)

Postby DeepSOIC » Sat Mar 11, 2017 7:22 pm

nemesis wrote:That's Part design boolean, and indeed, I just test, and the property "selectable" was set to false after activating the body.
Yes, I just tried it, and PartDesign Boolean dialog is very seriously affected by PoM. Not sure if I can solve this.