Features

Download

Online

Gallery

Blog

  Index  | Recent Threads  | List Attachments  | Help  | Search
 Welcome Guest  |  Register  |  Login
Login Name  Password
 

Sweet Home 3D Forum



No member browsing this thread
Thread Status: Active
Total posts in this thread: 6
[ Jump to Last Post ]
Post new Thread
Author
Previous Thread This topic has been viewed 5992 times and has 5 replies Next Thread
Ferraro
Newbie




Joined: Apr 16, 2014
Post Count: 18
Status: Offline
Reply to this Post  Reply with Quote 
SVG Export Setup (pixel width, height)

I am working with 4.2 source, and I need a way to set the pixel width and height to a static size, like 500px by 500px when my SVG is exported. I have been opening the SVG manually and changing (width="500px" height="500px") but it is becoming impossibly time consuming with a large batch. It would be much simpler if I could just set the pixel dimensions into the export operation.
If any developers could help with a location, and possible method to achieve this, it would be greatly appreciated. Spent an hour or so digging through the thousands of lines of code, realizing without a point in the right direction I could lose days at this.
Thanks in advance.
[Aug 5, 2014 4:24:11 PM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
okh
Advanced Member




Joined: May 12, 2013
Post Count: 1287
Status: Offline
Reply to this Post  Reply with Quote 
Re: SVG Export Setup (pixel width, height)

I agree that it could be useful to adjust scaling and other parameters in the SVG export. If someone is looking into this, please note me for a wish for an option to export without the embedded images (smaller files, easier to embed in html).

ok

PS I guess an editor that can search-replace through many files would not really solve your problem?
[Aug 6, 2014 9:31:16 AM] Show Printable Version of Post    View Member Profile    Send Private Message    Hidden to Guest [Link] Report threatening or abusive post: please login first  Go to top 
Ferraro
Newbie




Joined: Apr 16, 2014
Post Count: 18
Status: Offline
Reply to this Post  Reply with Quote 
Re: SVG Export Setup (pixel width, height)

I guess what I am really looking for overall is output control by any means necessary. A png export feature for the plan view would be nice, and so would being able to set pixel dimensions on SVG output. If I have to make a couple of builds of SweetHome with the common output settings I use, that would not be a problem. I realize there are other programs to convert files as needed, and I use them, but I really don't want to. I would rather just stay right in SweetHome producing everything I need from it without all the extra time and hassle.

PS.. Not sure it would help too much. What are you working on?
[Aug 6, 2014 7:27:22 PM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
okh
Advanced Member




Joined: May 12, 2013
Post Count: 1287
Status: Offline
Reply to this Post  Reply with Quote 
Re: SVG Export Setup (pixel width, height)

Not working on anything smile - just using a good text editor for batch editing. But I agree it is not a perfect solution.

As for PNG export - you are aware that you can select-copy plan items and paste as image to other software? In addition to screenshot, that is why I am not too concerned with SVG export.

ok
[Aug 7, 2014 9:48:55 AM] Show Printable Version of Post    View Member Profile    Send Private Message    Hidden to Guest [Link] Report threatening or abusive post: please login first  Go to top 
Ferraro
Newbie




Joined: Apr 16, 2014
Post Count: 18
Status: Offline
Reply to this Post  Reply with Quote 
Re: SVG Export Setup (pixel width, height)

Dug this project up again. It looks like Sweethome is using freehep graphics library. If so, it seems like the easiest way to get my desired image would be if the freehep export dialog was displayed. Might not be so hard. Any thoughts on this?
[Oct 14, 2014 6:06:42 PM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
okh
Advanced Member




Joined: May 12, 2013
Post Count: 1287
Status: Offline
Reply to this Post  Reply with Quote 
Re: SVG Export Setup (pixel width, height)

Any thoughts on this?
Me, I am in the wrong forum (smile). But there was a mention of altering SVG export in thread 4127 - maybe someone has played with this before? ok
[Oct 15, 2014 9:29:26 AM] Show Printable Version of Post    View Member Profile    Send Private Message    Hidden to Guest [Link] Report threatening or abusive post: please login first  Go to top 
[ Jump to Last Post ]
Show Printable Version of Thread  Post new Thread

    Get Sweet Home 3D at SourceForge.net. Fast, secure and Free Open Source software downloads
   
© Copyright 2006-2017 eTeks - All rights reserved