Quantcast
Viewing all articles
Browse latest Browse all 30322

A new part creation HowTo (long! So long it is in 2 posts)

From scratch, I'd never heard of scour.py (although I will go have a look at it now Image may be NSFW.
Clik here to view.
:slight_smile:
). I only just discovered while reading answers on stackoverflow that Inkscape is apparantly written in python using lxm. I did see a reference to an Inkscape plug in to collapse redundant groups that I need to look at. I'm also finding out why people are resistant to changing to python 3 Image may be NSFW.
Clik here to view.
:slight_smile:
I have (or had) pretty printing running and then move it in to the main script where it promptly broke because I hadn't remembered to set pythin3 in cygwin so it was using python 2 . I'm so far having little luck in getting the pretty printed xml to write to a file (because its in a funny format because of a lxml limitation that just works on 2.7 but tosses type errors on 3. I was thinking that once I get the standalone scripts running looking at an Inkscape plugin would be a good bet, a one step process would be better (but it would likely preclude syntax checking of fpz files so maybe not Image may be NSFW.
Clik here to view.
:slight_smile:
)

Peter


Viewing all articles
Browse latest Browse all 30322

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>