Assistance in fixing issue in A2p WB needed

Post here for help on using FreeCAD's graphical user interface (GUI).
Forum rules
and Helpful information
IMPORTANT: Please click here and read this first, before asking for help

Also, be nice to others! Read the FreeCAD code of conduct!
Post Reply
toralf
Posts: 48
Joined: Fri May 03, 2019 3:54 am

Assistance in fixing issue in A2p WB needed

Post by toralf »

Dear all,

I'm fairly new to FreeCAD and have found an issue with the A2p WB.
Since the whole subject interests me, I would like to fix it myself. But I need some assistance.
Mainly ì need help on:
  • where to look in the a2p code (i have just started to learn python but I'm already able to read and understand most of the a2p code and I have forked and cloned the project to my pc).
  • And which functions could be used in FreeCAD to solve certain topics, once I have fully understood the code.
So please bear with me. Hints and directions should usually be sufficient.

If this topic would be better placed in the "Assembly" section or any other section of the forum, please give me a hint and I or a moderator should be able to move it.

The issue I have found:
When FC doc gets saved with transpareny off, all is ok,
but when FC doc gets saved with transparency on and FC
is closed and on the next call the A2P assembly is opened
the toggle of transparency doesn't work any more.
transparency is processed in a2plib and I understand the code.

At first I would like to understand which a2p class.function gets called when a FC doc gets loaded and the a2p WB gets activated or is activated?
Any hint?

Thanks a lot in advance.
User avatar
HarryGeier
Veteran
Posts: 1231
Joined: Mon Jul 10, 2017 12:36 pm
Location: Hof Germany

Re: Assistance in fixing issue in A2p WB needed

Post by HarryGeier »

Hello,

Hook in here, and contact the author of a2plus...

https://forum.freecadweb.org/viewtopic.php?f=20&t=29207
Kaum macht man´s richtig , gehts´s
My Video Tutorials on Youtube: https://www.youtube.com/channel/UCoe3B ... p8Q/videos
My FreeCAD Stuff on Hidrive: https://my.hidrive.com/share/qr3l1yddy6#$/
User avatar
dcapeletti
Posts: 504
Joined: Wed Jul 23, 2014 2:27 pm

Re: Assistance in fixing issue in A2p WB needed

Post by dcapeletti »

Hello,
when you import an object with A2plus and change the transparency in the imported object, it will only work in that freecad instance. When you close FreeCAD and open the file, transparency will not be activated.

Now if you change the transparency in the object properties, when you import it, the transparency will always be activated.

Greetings
toralf
Posts: 48
Joined: Fri May 03, 2019 3:54 am

Re: Assistance in fixing issue in A2p WB needed

Post by toralf »

dcapeletti wrote: Fri May 24, 2019 10:41 am Now if you change the transparency in the object properties, when you import it, the transparency will always be activated.
That’s what I expected as well, but in the cases i analyzed the color/transparency is original color/transparency, but the transparency can not be activated via the A2p WB.
Post Reply