Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: File Types (Save or Export)
PostPosted: Thu Jan 27, 2011 3:26 am 
Hi All.

Hoping to become a new user. I have a CAD and Design background but no math background.

Would anyone mind helping me out with an explanation of what kind of CAD file types it is possible to export from Singular?

Thanks.


Report this post
Top
  
Reply with quote  
 Post subject: Re: File Types (Save or Export)
PostPosted: Thu Feb 03, 2011 12:00 am 

Joined: Wed Mar 03, 2010 5:08 pm
Posts: 108
Location: Germany, Münster
There is, apart from plain ASCII-text, no special CAD file type that Singular directly supports.

(For more advanced communication with external programs see the data type link http://www.singular.uni-kl.de/Manual/la ... htm#SEC141 .)

// ----
When I want to create some graphics, related to mathematical objects,
I mainly use xfig to produce on the fly a (vector-) graphic.

The process takes three steps, where you may replace the converter by
your favourite one.

1.) With the write (or the fprintf) command write plain ASCII text
which encodes the graphic data, like polygon lines, circles, colours,
shading etc.

2.) With the system command call from inside Singular
the converter fig2dev to get a pdf file.

3.) Again with the system command, call some viewer, e.g. gv

You will also find these mechanics in the library resgraph.lib
http://www.singular.uni-kl.de/Manual/la ... tm#SEC1142
which uses the dot program to produce a graphic and xv to display it.

// ------

Another program which may attract your interest is the ray tracer
surf (java-frontend surfer) to visualize algebraic curves and surfaces.

http://www.imaginary2008.de/surfer.php?lang=en

http://sourceforge.net/projects/surf/

(Note that the raytracer does not generate graphics from mesh / convex hull,
but from the equations that describe the coordinates.)

surf can be called directly (similar as described above) from Singular
via the library surf.lib
http://www.singular.uni-kl.de/Manual/la ... tm#SEC1467.


Report this post
Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

It is currently Fri May 13, 2022 11:07 am
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group