My first add-in: Visual Styles

My first add-in: Visual Styles

pawelzwronek
Advocate Advocate
11,620 次查看
99 条回复
1 条消息(共 100 条)

My first add-in: Visual Styles

pawelzwronek
Advocate
Advocate

Hello everybody.

Today i want to share with you my first addin I have created couple days ago. Because my previous idea of "Customized bottom navigation bar" gained whole 10 kudos i decided to write some kind of substitute of this idea. Fell free to download and test it because it's free 🙂 Below screenshot and link to appstore.

MAC and PC

 

What it does?

Simply a couple of buttons to quickly change visual style of active viewport.

 

Want to contribute?

Visit github.com/pawelzwronek/fusion360-VisualStyles

 

P.S. If you like it (or not) and use it please leave a comment in App Store to give me motivation to make it better or to write next one.

 

 visualstyle screen.png

已接受的解答 (1)
11,621 次查看
99 条回复
回复 (99)
61 条消息(共 100 条)

pawelzwronek
Advocate
Advocate

Thx Luca for helping! Lately I'm short of time 😞

As for the problem I can see the version 1.2.1 is not working as Luca attached version 1.2 and it worked. Can you Luca check is that true on your computer please. Unfortunately I have access to Win64 only.

Before testing can you enable logging please?

To do this edit VisualStyles.bundle\Contents\VisualStyles.py and in line 67 change logToFile =False to:

67: logToFile =True

After restart Fusion you'll find file named like visualstyles_efds8x35.log in your local temporary folder. For me it's C:\Users\P\AppData\Local\Temp

To find it on MAC check out this link https://apple.stackexchange.com/questions/94964/where-is-the-temp-folder

0 个赞
62 条消息(共 100 条)

luca.giorcelli
Enthusiast
Enthusiast

Hi pawelzwronek,

 

I'm not sure I've understood. Do you want that I download and test if the latest version of the plugin (1.2) works on my mac?

0 个赞
63 条消息(共 100 条)

pawelzwronek
Advocate
Advocate

Latest version is 1.2.1 and this version I ask you to test please 🙂

0 个赞
64 条消息(共 100 条)

luca.giorcelli
Enthusiast
Enthusiast

I cannot find logToFile settings inside

 

~/Library/Application Support/Autodesk/ApplicationPlugins/VisualStyles.bundle/Contents/VisualStyles.py

 

I attach the file (I had to zip it in order to upload it).

0 个赞
65 条消息(共 100 条)

Anonymous
不适用

Does not work on OSX  , a quick fix that worked for me  :
in VisualStyles.py , Line 99 , change 

configPath = os.path.join(os.environ['APPDATA'], 'Autodesk\\ApplicationPlugins\\')

to

configPath = os.path.join(os.environ['HOME'], 'Library/Application Support/Autodesk/ApplicationPlugins/')

 

once working ... great add-in 🙂 

 

Cheers 

Miky

 

 

66 条消息(共 100 条)

pawelzwronek
Advocate
Advocate

Great news michael, thx for this solution! I'll include this in next version. I'm the windows person and it's difficult for me to debug on OSX. Btw. do you think I could run OSX on any virtual machine, VirtualBox or sth. ?

67 条消息(共 100 条)

Anonymous
不适用

The closest thing would be 
https://www.pcsteps.com/2157-mac-os-x-virtual-machine-vmware-player/
I havent tried myself but have seen it work on someone's computer 🙂

 

Michael

 

0 个赞
68 条消息(共 100 条)

sarf2k4
Enthusiast
Enthusiast

Hi,

 

I'm not sure if I should post it here, but every time I launched f360 with this plugin enabled, it always asked me to create online or local preference. I often clicked yes and even created _Preferences under the project repositories there, but still asks me the same thing.

69 条消息(共 100 条)

pawelzwronek
Advocate
Advocate

The most helpful will be a log file. Please create it with steps described below and send it to me as private message.

 

1. Switch to 'local' preferences by setting 'Local preferences' checkbox.

2. Delete(archive) project called _Preferences if any exists.

3. Enable logging by clicking 6 times in a row 'Wireframe' checkbox.

4. Switch to 'cloud' preferences: uncheck 'local preferences' checkobx.

5. Click 'Yes' on dialog box.

6. Post created log as attachment.

 

Also please tell me if you have any unusual system configuration or installation of F360.

0 个赞
70 条消息(共 100 条)

Ryan_Fab
Advocate
Advocate

Help me then! I feel stupid too

0 个赞
71 条消息(共 100 条)

goofywck
Explorer
Explorer

Just wanted to say what helped me:

 

Non of the above, but kind of mix of them.

 

I could not install it or even when it did and it showed up in add ins it didn't work.

i couldn't add it to the list manually or anything like that.  /actually when You try to add an addin what kind of file is it looking for? .py or .bundle?/

 

Finally i created new addin called NewAddin1 or something found it in autodesk fusion / API / addins folder and replaced it with visual styles files with changed names, clicked run in fusion and it went in to spinning rainbow for a short while... it's perfect now. created _preferences project and all.

 

Thats on my mac by the way, will try that on windows tommorow becouse it didn't want to work there too for me.

 

 

72 条消息(共 100 条)

motopreserve
Enthusiast
Enthusiast

Just wanted to add that I was having the same issues with install on a Mac (running Sierra 10.12.6).  The file after regular download and also unpacking was 827k.  Tried everything and finally downloaded Luca's zip.  Worked immediately.  Luca's is 826k. 

 

Maybe the developer should add Luca's file to the download instead of the one provided on the proper download page 🙂

 

Thanks!

0 个赞
73 条消息(共 100 条)

goran_G
Contributor
Contributor

As of last Fusion 360 2.0.6440 the Add-In does not work on my Mac, MacOS 10.14.6. Tried to remove and reinstall but it doesn't even appear in the Fusion Scripts and Add-Ins panel, while it is correctly installed in the ApplicationPlugins folder with all the other working Add-Ins.

Missing it, badly..😫

0 个赞
74 条消息(共 100 条)

pawelzwronek
Advocate
Advocate
Just fixed it. We have to wait until autodesk will review new version and
publish it. Should be available in couple days.
75 条消息(共 100 条)

Anonymous
不适用

I have this happening on my Win 10 also since the last update, I also missing it.

 

Can we be notified when its back working?

 

Thanks!

Dan

0 个赞
76 条消息(共 100 条)

goran_G
Contributor
Contributor

It will be updated on the Fusion App store, so just go to this page and reload every few hours. I don't know who should notify us, and how that "who" would know whom to notify. It should be approved very soon anyway.

77 条消息(共 100 条)

bradley.selph
Explorer
Explorer

Lost my beloved Visual Styles with this last update. I went to the page in the link and downloaded it and it still is not working. 

0 个赞
78 条消息(共 100 条)

goran_G
Contributor
Contributor

Oh my. Just look at the date:

About date.jpg

 

Read again what I wrote, reload the page, not download. Just a little patience.

Just wait for the add-in to be validated by Autodesk.

0 个赞
79 条消息(共 100 条)

bradley.selph
Explorer
Explorer

Sorry my bad.

0 个赞
80 条消息(共 100 条)

pawelzwronek
Advocate
Advocate

Just fixed it. We have to wait until autodesk will review new version and publish it. Should be available in couple days.
You can also manually replace original file c:\Users\<YOUR USER NAME>\AppData\Roaming\Autodesk\ApplicationPlugins\VisualStyles.bundle\Contents\VisualStyles.py  with  attached file (unzip first)

Best regards.