On 6/7/2013 4:09 AM, Gene Heskett wrote: > On Friday 07 June 2013 02:10:00 Kent Reed did opine: > >> On Thu, Jun 6, 2013 at 5:01 PM, Gene Heskett <ghesk...@wdtv.com> wrote: >>> Greetings Guys; >>> >>> Someone mentioned that rockhopper can make .pdf >>> s somehow, and those of coarse can be scaled. >>> >>> Since I now own an HL3170CDW color laser printer, what steps does it >>> take to do this, blowing my lathe .hal file up into at least a 6 page >>> output? _ >> You can use the ImageMagick suite (available through the Synaptic >> Package Manager) to create a bunch of image files of the right size out >> of the original SVG image: >> >> convert -crop 594x774 halgraph.svg halgraph-%d.png >> >> <...> >> As a matter of curiousity, what is the width and height information in >> your halgraph.svg file? I suppose if it's big enough, convert could >> choke. >> >> Regards, >> Kent > viewBox="0.00 0.00 3542.00 1505.00" > > So, > convert -crop 594x774 halgraph.svg halgraph-%d.png > > Then; > lpr -PHL3170CDW halgraph-*.png > > And I got 12 pages too.
Hmmm. 3542pt x 1505pt is 49.2in x 20.9in. That's 12 letter-sized sheets. Check. > ...But something scaled it down from 72dpi to about > 130 so the usable image per page was only 4.65" wide, so I had a lot of lpr has to call some helper function to render the png. Off hand, I don't know what that function is. I chose instead to load and print the images from a graphics viewer so I could have more control over the process. As in so much of Linux, "there's more than one way to do that." By the way, convert (really the entire ImageMagick suite) is the proverbial Swiss Army knife. It offers a bazillion options including "-gravity" with which one can choose from which edges it lays out the cropping tiles. By default, it lays out from the top left to the bottom right, but you can force it to lay out differently. It may sound paradoxical, but I find there's too much yet too little ImageMagick documentation available on-line. Since I no longer have my own sheet/roll-feed wide-format printer/plotter like I did at NIST, I plan to use the local FedEx Office (aka Kinko's) to plot anything really complicated the same way I use them to print huge manuals. I realize "local" has a different connotation for you but since FedEx now owns the whole enchilada I'm sure you could ship the print job to some shop electronically and have the result shipped back physically. See their website. Scissors and pastepot work grows old in a hurry. > <...> > So, I have something that while a bit fragile, does show what I have carved > up in that file. Complex for a machine with two axis's and a servo > controlled spindle plus an electrical probe kit for home all use. But if I > have any dead ends, they aren't shown because rockhopper ignores "wires" > that aren't connected on both ends. That "trash removal" could be a > disadvantage as that was one of the things I wanted to be able to check > quickly. I confronted similar issues when I was visualizing HAL configurations with Graphviz, although I started with the static .hal file instead of the HAL data in working memory. In graphs, there is a fundamental difference between the nodes and the edges connecting them, with a focus on the nodes. I chose to represent signals as edges in Graphviz, so I had to create phantom Graphviz nodes to represent "dead ends", else the offending signal disappeared from the graph. I haven't looked closely at the Rockhopper approach to see how they handle "dead ends" but the information is available to them in the HAL signal table. The situation should be easier for them to deal with than it was for me because they chose to represent signals as Graphviz nodes also (with a different presentation style, of course). A signal with a dead end would be presented as a signal-node box with only one connecting line. In any case, what you are talking about is what the process and piping industry calls "free ends" analysis which they perform to ensure the integrity of a complicated piping-system design. I'd think it would be much easier to write a script to find single-ended signals than to stare at a drawing of any scale hoping to notice the visual equivalent of the dog that didn't bark in the night (or should that be the sound of one hand clapping?). Glad ImageMagick was useful. As for the missus, our situation continues to degrade. Even with the stairlift I installed in February, it got to be too much getting to/from the upstairs bedroom. Over the last three weeks, I've turned our living room into a mini-nursing home. Hospital bed, Hoyer lift, ramp out the front door, visiting home health care professionals, the whole nine yards. Now I'm trying to find a dependable night-sitter service we can afford so I can get some sleep. Regards, Kent ------------------------------------------------------------------------------ How ServiceNow helps IT people transform IT departments: 1. A cloud service to automate IT design, transition and operations 2. Dashboards that offer high-level views of enterprise services 3. A single system of record for all IT processes http://p.sf.net/sfu/servicenow-d2d-j _______________________________________________ Emc-developers mailing list Emc-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-developers