26#define ART_OFFSET 0.025
28#define PLATE_OFFSET 0.005
83 float sr,
float sg,
float sb,
84 float am,
float tr,
float sh )
126 const wxString& aFullFileName,
double aMMtoWRMLunit,
127 bool aIncludeUnspecified,
bool aIncludeDNP,
128 bool aExport3DFiles,
bool aUseRelativePaths,
129 const wxString& a3D_Subdir,
130 double aXRef,
double aYRef );
138 void SetOffset(
double aXoff,
double aYoff );
156 bool SetScale(
double aWorldScale );
188 bool GetLayer3D(
int layer, VRML_LAYER** vlayer );
194 bool aPlane,
bool aTop,
double aTop_z,
double aBottom_z );
197 double top_z,
double bottom_z );
200 double aHeight,
bool aTopPlane );
Information pertinent to a Pcbnew printed circuit board.
VRML_COLOR & GetColor(VRML_COLOR_INDEX aIndex)
static CUSTOM_COLORS_LIST m_MaskColors
SGNODE * m_sgmaterial[VRML_COLOR_LAST]
static CUSTOM_COLORS_LIST m_PasteColors
static KIGFX::COLOR4D m_DefaultSolderPaste
VRML_LAYER m_top_soldermask
bool GetLayer3D(int layer, VRML_LAYER **vlayer)
bool SetScale(double aWorldScale)
SGNODE * getSGColor(VRML_COLOR_INDEX colorIdx)
void ComputeLayer3D_Zpos()
std::map< int, double > m_layer_z
static KIGFX::COLOR4D m_DefaultBackgroundTop
SHAPE_POLY_SET m_pcbOutlines
VRML_LAYER m_plated_holes
void SetLayerZ(int aLayer, double aValue)
void ExportVrmlPolygonSet(VRML_LAYER *aVlayer, const SHAPE_POLY_SET &aOutlines)
void create_vrml_shell(IFSG_TRANSFORM &PcbOutput, VRML_COLOR_INDEX colorID, VRML_LAYER *layer, double top_z, double bottom_z)
void write_triangle_bag(std::ostream &aOut_file, const VRML_COLOR &aColor, VRML_LAYER *aLayer, bool aPlane, bool aTop, double aTop_z, double aBottom_z)
bool m_includeUnspecified
void initStaticColorList()
std::list< SGNODE * > m_components
static KIGFX::COLOR4D m_DefaultSilkscreen
static CUSTOM_COLORS_LIST m_SilkscreenColors
void SetOffset(double aXoff, double aYoff)
static KIGFX::COLOR4D m_DefaultBackgroundBot
double GetLayerZ(int aLayer)
bool ExportVRML_File(PROJECT *aProject, wxString *aMessages, const wxString &aFullFileName, double aMMtoWRMLunit, bool aIncludeUnspecified, bool aIncludeDNP, bool aExport3DFiles, bool aUseRelativePaths, const wxString &a3D_Subdir, double aXRef, double aYRef)
Export a VRML file image of the board.
void ExportVrmlPadHole(PAD *aPad)
static CUSTOM_COLORS_LIST m_BoardColors
void create_vrml_plane(IFSG_TRANSFORM &PcbOutput, VRML_COLOR_INDEX colorID, VRML_LAYER *layer, double aHeight, bool aTopPlane)
bool m_UseInlineModelsInBrdfile
wxString m_Subdir3DFpModels
static KIGFX::COLOR4D m_DefaultBoardBody
static CUSTOM_COLORS_LIST m_FinishColors
static KIGFX::COLOR4D m_DefaultSolderMask
bool m_UseRelPathIn3DModelFilename
void ExportVrmlFootprint(FOOTPRINT *aFootprint, std::ostream *aOutputFile)
void ExportFp3DModelsAsLinkedFile(const wxString &aFullFileName)
VRML_LAYER m_bot_soldermask
VRML_COLOR vrml_colors_list[VRML_COLOR_LAST]
void ExportVrmlSolderMask()
void writeLayers(const char *aFileName, OSTREAM *aOutputFile)
void ExportStandardLayers()
static KIGFX::COLOR4D m_DefaultSurfaceFinish
double m_BoardToVrmlScale
IFSG_TRANSFORM m_OutputPCB
void ExportVrmlViaHoles()
S3D_CACHE * m_Cache3Dmodels
A color representation with 4 components: red, green, blue, alpha.
Container for project specific data.
Cache for storing the 3D shapes.
The base class of all Scene Graph nodes.
Represent a set of closed polygons.
std::vector< CUSTOM_COLOR_ITEM > CUSTOM_COLORS_LIST
@ VRML_COLOR_TOP_SOLDMASK
@ VRML_COLOR_BOT_SOLDMASK
VRML_COLOR(float dr, float dg, float db, float sr, float sg, float sb, float am, float tr, float sh)