BRL-CAD
stl_write.c File Reference
#include "common.h"
#include <stdlib.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <ctype.h>
#include <math.h>
#include <string.h>
#include "bnetwork.h"
#include "bio.h"
#include "bu/getopt.h"
#include "bu/cv.h"
#include "vmath.h"
#include "nmg.h"
#include "rtgeom.h"
#include "raytrace.h"
#include "../../plugin.h"
Include dependency graph for stl_write.c:

Go to the source code of this file.

Data Structures

struct  stl_conv_data
 

Macros

#define V3ARGSIN(a)   (a)[X]/25.4, (a)[Y]/25.4, (a)[Z]/25.4
 
#define VSETIN(a, b)
 

Variables

const struct gcv_plugin_info gcv_plugin_conv_stl_write = {converters}
 

Detailed Description

Program to convert a BRL-CAD model (in a .g file) to an STL file by calling on the NMG booleans. Based on g-acad.c.

Definition in file stl_write.c.

Macro Definition Documentation

#define V3ARGSIN (   a)    (a)[X]/25.4, (a)[Y]/25.4, (a)[Z]/25.4

Definition at line 50 of file stl_write.c.

#define VSETIN (   a,
 
)
Value:
{\
(a)[X] = (b)[X]/25.4; \
(a)[Y] = (b)[Y]/25.4; \
(a)[Z] = (b)[Z]/25.4; \
}
Definition: color.c:49
Definition: color.c:51
Definition: color.c:50

Definition at line 51 of file stl_write.c.

Variable Documentation

const struct gcv_plugin_info gcv_plugin_conv_stl_write = {converters}

Definition at line 513 of file stl_write.c.