Open CASCADE, the 3D modelling kernel
3D modeling & numerical simulation

Open CASCADEShowroomGet it!Developer CornerSupport and ProductsAbout us
Technical overview
Areas of use
Advantages
FAQ
Screenshots
Shape factory
Shape gallery
Demonstrations
What's new
System requirements
Download Center
Public license
Documentation
Getting started
Forum
Open Source community
Training and e-learning
A la Carte Support
Value-added software
Complementary Components
Customer Corner
Company Profile
Marketing Materials
Contact Us
News
Home / Developer Corner / Forum / set up plotter

Forum

set up plotter
jelle2009/04/19 20:26

Hi,

I'm having trouble setting up a plotter.
First of all, I can't seem to construct a plot manager:
plt_mgr = PlotMgt_Plotter(tmp[0], False)
*** RuntimeError: Standard_ProgramError

secondly, starting postscript plotter is not working out.
it seems I need to point it to a resource, but I do not know what kind of resource ( .prn file? )
ps = PS.PS_Driver(tmp[0].ToCString(), 1000,1000)
*PlotMgt_PlotterDriver Failed on opening the file 'device for AdobePDF9: pdf900://distiller/'
PlotMgt_Plotter::PlotMgt_Plotter ERROR => File 'NEW_MODEL' not found in DIRPLOT='' and in DIRPARPLO=''.
PlotMgt_Plotter::PlotMgt_Plotter ERROR => File 'DIRECT_PS' not found in DIRPLOT='' and in DIRPARPLO=''.

however, image plotter does succeed:
img = PlotMgt_ImageDriver(tmp[0].ToCString())

I'm interested in generating postscript files, so any hints are much appreciated.

Thanks,

-jelle


PG2009/07/01 11:36

Hello

Any clue how to generate PS/HPGL files - what is the input parameters
to the API ( if available).
thanks
- PG
jelle2009/07/01 11:41
Would be really great to have an example indeed!
 
 
Latest news
  • FAQ section updated
  • OPEN CASCADE Uses Intel ® Parallel Studio XE to Introduce Parallelism into SALOME SMESH Module
  • Open CASCADE Technology 6.5.2 is available for download!

  • © OPEN CASCADE 2000 - 2012  |  Search  |  Contacts   |  Site map