Wosven

Members
  • Content count

    29
  • Joined

  • Last visited

About Wosven

  • Rank
    Newbie

Recent Profile Visitors

187 profile views
  1. Don't forget that this façade was made of straight lines and regular curves. Imagine a cube, or rotate a box in your hands. The perspective grid is the best way to correct this photo, and we have to correct many angles. You can add guides to make the process easier. (in yellow, the curves added by the mesh warp grid). If you use fisheye lens, it's another problem since this add a lot of distortion, and it can be difficult or impossible to correct.
  2. I found a workaround with Notepad++ and macros. You need to create a macro and save it (with a shortcut, you'll find its code in "C:\Users\user_name\AppData\Roaming\Notepad++\shortcuts.xml" Here the code you can put in this file between <Macros></Macros> tags : <Macro name="SVG_add_gp_filename_save_close" Ctrl="yes" Alt="no" Shift="yes" Key="97"> <Action type="2" message="0" wParam="42030" lParam="0" sParam="" /> <Action type="0" message="2179" wParam="0" lParam="0" sParam="" /> <Action type="3" message="1700" wParam="0" lParam="0" sParam="" /> <Action type="3" message="1601" wParam="0" lParam="0" sParam="^([a-zA-Z0-9_]+)\.svg(&lt;svg [^&gt;]+&gt;)(.+)(&lt;/svg&gt;)" /> <Action type="3" message="1625" wParam="0" lParam="2" sParam="" /> <Action type="3" message="1602" wParam="0" lParam="0" sParam='$2&lt;g id=&quot;$1&quot;&gt;$3&lt;/g&gt;$4' /> <Action type="3" message="1702" wParam="0" lParam="770" sParam="" /> <Action type="3" message="1701" wParam="0" lParam="1609" sParam="" /> <Action type="3" message="1700" wParam="0" lParam="0" sParam="" /> <Action type="3" message="1601" wParam="0" lParam="0" sParam='(&lt;g id=&quot;[^&quot;]+&quot;&gt;)(&lt;title&gt;[^&lt;]+&lt;/title&gt;)' /> <Action type="3" message="1625" wParam="0" lParam="2" sParam="" /> <Action type="3" message="1602" wParam="0" lParam="0" sParam="$2$1" /> <Action type="3" message="1702" wParam="0" lParam="770" sParam="" /> <Action type="3" message="1701" wParam="0" lParam="1609" sParam="" /> <Action type="3" message="1700" wParam="0" lParam="0" sParam="" /> <Action type="3" message="1601" wParam="0" lParam="0" sParam='(&lt;svg [^&gt;]+&gt;&lt;g id=&quot;[^&quot;]+&quot;&gt;)&lt;g id=&quot;[^&quot;]+&quot;&gt;(.+)&lt;/g&gt;(&lt;/g&gt;&lt;/svg&gt;)' /> <Action type="3" message="1625" wParam="0" lParam="2" sParam="" /> <Action type="3" message="1602" wParam="0" lParam="0" sParam="$1$2$3" /> <Action type="3" message="1702" wParam="0" lParam="770" sParam="" /> <Action type="3" message="1701" wParam="0" lParam="1609" sParam="" /> <Action type="3" message="1700" wParam="0" lParam="0" sParam="" /> <Action type="3" message="1601" wParam="0" lParam="0" sParam='(&lt;/title&gt;&lt;g id=&quot;[^&quot;]+&quot;&gt;)&lt;g id=&quot;[^&quot;]+&quot;&gt;(.+)&lt;/g&gt;(&lt;/g&gt;&lt;/svg&gt;)' /> <Action type="3" message="1625" wParam="0" lParam="2" sParam="" /> <Action type="3" message="1602" wParam="0" lParam="0" sParam="$1$2$3" /> <Action type="3" message="1702" wParam="0" lParam="770" sParam="" /> <Action type="3" message="1701" wParam="0" lParam="1609" sParam="" /> <Action type="2" message="0" wParam="41006" lParam="0" sParam="" /> <Action type="0" message="2025" wParam="0" lParam="0" sParam="" /> <Action type="0" message="2422" wParam="0" lParam="0" sParam="" /> <Action type="0" message="2325" wParam="0" lParam="0" sParam="" /> <Action type="2" message="0" wParam="41003" lParam="0" sParam="" /> </Macro> The steps to do the macro : (I did it using the Menu) Open one of the svg files (the cursor is at the beginning of the file) Clic on the red dot "record macro" Edit > Copy to clipboard > Current Filename to Clipboard Edit > Paste Search > Replace Options : x Match case x Wrap around x Regular expression // To add the tag <g id="filename"></g> Find what : ^([a-zA-Z0-9_]+)\.svg(<svg [^>]+>)(.+)(</svg>) Replace with : $2<g id=$1>$3</g>$4 // To correct if there's a tag <title> Find what : (<g id="[^"]+">)(<title>[^<]+</title>) Replace with : $2$1 // To delete if there already was a tag with an ID // This will keep our tag with the file name Find what : (<svg [^>]+><g id="[^"]+">)<g id="[^"]+">(.+)</g>(</g></svg>) Replace with : $1$2$3 // same purpose with <title> tag Find what : (</title><g id="[^"]+">)<g id="[^"]+">(.+)</g>(</g></svg>) Replace with : $1$2$3 6. Do the 4 [Replace all] and close the pannel 7. Save the file 8. Close the file 9. Save the macro Next time, you begin with a blank Notepad++, you open x svg files and : Macro > Run a Macro Multiple Times… Select the macro, and run it x times. It's fast, you only need to have correct filenames without spaces or other characters than A-Za-z0-9 or _
  3. I did a test too. Since svg is a text file and begin and end with specific tag, it's easy to use app like TextPad/WildEdit (Win) or TextWrangler (Mac, it was able to modify files from a selected folder too), and with a regular expression add those <g> tags. Once all your file have an id, you do the trick with Inkscape (dragging a lot of icons in a file and copy/open them in AD). The trick is about retrieving the file name (apps can give the path — need another regExp to select only the file name) and using it in the replacement expression (not possible with the app I use). Another way would be to use a list with the file names and the files, etc. PHP, Bash, Powershell can do this, we only need time to write the script. Perhaps it would be easy to do in Inkscape with Script-Fu or Python, it would be the more logical way to do this (multi-OS solution, command line). PS. You're on Windows, and me too, at least, a powershell script is possible.
  4. Since SVG is only text, another simple solution would be to use an application able to open and modify multiple files from a folder, and add tags with some regular expression. Or a script (seems easier to do on Linux or OS X than Windows), since I'm not sure an app can retrieve and use the filename as a variable for replacement. The script only need to add 2 group tags (<g></g>) after the first one and before the last one : <svg …> <g id="file_name"> … </g> </svg> I'm a little rusty with bash scripting to do this, but it shouldn't be difficult for someone who do/did it less than a decade ago !
  5. A fastest solution is to use Inkscape and import a bunch of svg files in a single new document. You save this file as (in exemple, the one I choose) "simple svg" format and open it in AD. (I did this in few secondes in Inscape (opening the app, creating a new document, importing the files, saving the file), while AD was choking to place the same 7 files). Then, you open the multi-icons file in AD, and each one is a separate group you can select and add to Assets. (You can do the same with AD, exporting multi-placed svg files as a single file and reopening it, but AD is ok to import a max of 3 files… 4, 7 take toooooo much time).
  6. When I opened both files in Inkscape, both files look fine, as expected. If I open the files in Designer, Test.svg is fine, but not camera_dome.svg. On the right side, how Inkscape "cut"/display the objects. It looks like a bug with Designer. Perhaps you can use commanline to convert your files with Inkscape in an appropriate format for GNS3, until this is fixed ? (It would be faster than opening and saving them). Some screenshots of my tests (3rd one with clipping mask). PS. Each time Inkscape displayed the correct image.
  7. I really like QXP and ID — I didn't played enough with Scibus to have an opinion for now — the problem is not those apps, but the prices, for independants and compagnies. Those apps were/are coded by smart people, adding good features or not so good ones, and most of them come from knowing how to do books, magazines, flyers… I don't think a new apps should "réinventer la roue"/ reinvent the wheel. Some free apps tend to do this, and most people won't use them because they don't want to learn again from scratches because features get others names or stranges parameters, etc. Adding improvement is important, but it shouldn't be an alien software. As @MikeW said, you can do this in ID with Object's style and "Next paragraph style" options, and with scripts (i.e. to count words and apply styles)… GREP can be use in paragraph styles to apply characters styles, or in search/replace or in scripts… When you work every month on the same publication, or on huge books, knowing those tricks is a time saver. The other important one is using styles' shortcut. But we can't expect such features in a first version of APub.
  8. Those brushes are fun, I tried doing the same style brushes for AD. I suspect my lines aren't as fine as their, and I'll delete the files if asked to. Etch_short_lines.afbrushes Etch_medium_lines.afbrushes Etch_long_lines.afbrushes Etch_single_lines.afbrushes
  9. I used XPress and now ID, but recently I saw some work done by a client with Scribus, and the result was good. (we do the main publications and he do the other ones with Scibus). PDF for print are OK. If you can find time to learn it and bypass the interface's "feel", there's a lot of features and options we usually found in the other apps. And it can import SVG files and modify their colors. For this, I promise myself to play with Scribus more later
  10. You can specify width and height : "32w, 32h", or resize the slide manually/by value. I'm not sure why you find this impossible.
  11. Thanks you ! I had planned to search photos and you give one
  12. Thanks ! Every time Someone give some goodies, I want to test them. I just need to begin doing astrophotography
  13. Ha hem… Who never did this ? I’m not proud of my first post here too
  14. Sorry for asking this, but does it continue after restarting the application or/and the computer ?
  15. About the pressure of the stroke, there's a workaround by converting to curves (but we dont have the benefit of using forms this way). There's another bug with the stroke pressure : it doesn't use the selected rounded angle. Another point : it would be nice to have an elliptical beginning instead of round for the stroke's pressure, to avoid elongated beginning of strokes. Being able to enlarge the little stroke pressure panel would be great too !