How to resize/scale a drawing

How to resize/scale a drawing

AutomaticRock
Enthusiast Enthusiast
2,258 Views
5 Replies
Message 1 of 6

How to resize/scale a drawing

AutomaticRock
Enthusiast
Enthusiast

Hi everybody,

 

I was making an attempt to design my own frame. Therefor I would like to add our logo. 

I managed to converter the svg file of our logo to dfx, and then import the dfx into the frame symbol.

 

Now I was wondering is there any way to resize the logo? I've seen it's possible to mirror it, but a simple resize or scale option I don't find?

 

Clipboard01.jpg

 

I know I can set the scale during dfx import, but that would require some trail and error to make it fit the title block. There must be a simple resize option somewhere, right?

 

Best regards,
Benno

0 Likes
2,259 Views
5 Replies
Replies (5)
Message 2 of 6

jorge_garcia
Autodesk
Autodesk
Hello @AutomaticRock,

I hope you're doing well. Unfortunately, there is no resize option for now. Resize is super simple in vector graphics but DXF resize is more involved. You are better off right now doing the trial and error on import.

Let me know if there's anything else I can do for you.

Best Regards,


Jorge Garcia
​Product Support Specialist for Fusion 360 and EAGLE

Kudos are much appreciated if the information I have shared is helpful to you and/or others.

Did this resolve your issue? Please accept it "As a Solution" so others may benefit from it.
0 Likes
Message 3 of 6

AutomaticRock
Enthusiast
Enthusiast

Hi @jorge_garcia,

 

Thanks for your reply. I managed the previous problem with a few trail and errors.

Now the next task is to put our logo on the pcb.

 

This time I used the bmp import to get my logo. It result in many many polygons, that combined resemble our logo. Ok, fine so far. But than I could find any option to combine all these small polygons into one polygon? Did I overlook something?

 

Luckely our logo has many straight lines, so I simply made a new polygon and retraced the outline and saved it in my library. But when I placed it on my design it is way too big:

Clipboard01.jpg

 

So I want back to my library to resize the logo. You said before "Resize is super simple in vector graphics" and as I understand it a polygon is made of vectors. But again I don't see a way to scale a polygon?

Clipboard02.jpg

What am I missing? Adding a company logo to a pcb or schematic should be a basic task for profesional software I think? It shouldn't be this hard... 😞 

0 Likes
Message 4 of 6

jorge_garcia
Autodesk
Autodesk

Hi @AutomaticRock ,

 

I'm sorry for the confusion. In refering to "vector graphics" I was thinking specifically of SVG files which are easy to scale because it's contents are defined as vectors. Polygons in Fusion Electronics are not based on vectors, they are defined by vertices. Additionally, Fusion Electronics can only import BMP files or DXF right now. If you need a different size logo, you are better off using the import-bmp.ulp you've been using. 

 

To get a specific length, just divide the length you want by the number of pixels in the x direction of the logo bitmap, that becomes the scaling factor in the ULP. For now that's what we have.

 

Let me know if there's anything else I can do for you.

 

Best Regards,



Jorge Garcia
​Product Support Specialist for Fusion 360 and EAGLE

Kudos are much appreciated if the information I have shared is helpful to you and/or others.

Did this resolve your issue? Please accept it "As a Solution" so others may benefit from it.
0 Likes
Message 5 of 6

AutomaticRock
Enthusiast
Enthusiast

Hi @jorge_garcia ,

 

I understand your point, however I think scaling a polygon shouldn't be difficult. You only need to recalculate the position of each vertices point.
After some Googling I ended up by the neighbors over on the Eagle forum. There I found an ulp to scale all polygons of a symbol.

 

I've modified the code to work with Fusion and work with a selected polygon in symbol or footprint editing.

Now I can save our logo as a part to be used in a schematic or as a silkscreen on a pcb, and scale it to my needs.

See the attachment for the ulp.

I must confess I only know embedded C, and even that is self taught. I'm sure your coding colleagues can make something useful of this 😉  

 

I do have an ulp question about this. Also on the Eagle forum I found an ulp manual, dating back to 2018.
My question, is there a current ulp manual for Fusion? Thankfully the error messages generated by Fusion over the original Eagle ulp was very explanatory, but a real manual would be helpful.

Thanks!

 

Best regards,
Benno

0 Likes
Message 6 of 6

jorge_garcia
Autodesk
Autodesk

Hi @AutomaticRock ,

 

Thanks for sharing this I learned something new today. The most recent ULP manual is the 2018 one you found and it's actually still valid. Nothing has been added to the ULP language since then.

 

Let me know if there's anything else I can do for you.

 

Best Regards,



Jorge Garcia
​Product Support Specialist for Fusion 360 and EAGLE

Kudos are much appreciated if the information I have shared is helpful to you and/or others.

Did this resolve your issue? Please accept it "As a Solution" so others may benefit from it.
0 Likes