JunkBox_Lib++ (for Windows) 1.10.1
Loading...
Searching...
No Matches
STL.h
Go to the documentation of this file.
1#ifndef __JBXL_STL_H_
2#define __JBXL_STL_H_
3
13#include "Brep.h"
14
15
16namespace jbxl {
17
18
20typedef struct {
21 unsigned char tmp[50];
22} tmpSTLData; // 50Byte
23
24
30// STL Data は 32bit単位 なので float を使用
31typedef struct {
32 float vect[12];
33 unsigned short pad;
34} STLData; // 50Byte
35
36
37DllExport STLData* readSTLFile (char* fname, long int* fno);
38DllExport int writeSTLFile(char* fname, BREP_SOLID* solid, bool ascii=false);
39DllExport int writeSTLFile(char* fname, BREP_SOLID_LIST solid_list, bool ascii=false);
40
41DllExport STLData* readSTLFileA (char* fname, long int* fno);
42DllExport STLData* readSTLFileB (char* fname, long int* fno);
43DllExport int writeSTLFileA(char* fname, BREP_SOLID* solid);
44DllExport int writeSTLFileB(char* fname, BREP_SOLID* solid);
45DllExport int writeSTLFileA(char* fname, BREP_SOLID_LIST solid_list);
46DllExport int writeSTLFileB(char* fname, BREP_SOLID_LIST solid_list);
47
49
50DllExport void freeSTL(STLData* stldata);
51
52
53} // namespace
54
55#endif
56
BREP Library Header.
#define DllExport
Definition common.h:105
Definition Brep.h:29
DllExport void freeSTL(STLData *stldata)
Definition STL.cpp:429
DllExport void println_FacetAsciiSTL(BREP_CONTOUR *contour)
Definition STL.cpp:413
DllExport int writeSTLFileA(char *fname, BREP_SOLID *solid)
Definition STL.cpp:233
DllExport STLData * readSTLFileB(char *fname, long int *fno)
Definition STL.cpp:186
DllExport STLData * readSTLFileA(char *fname, long int *fno)
Definition STL.cpp:112
DllExport STLData * readSTLFile(char *fname, long int *fno)
Definition STL.cpp:23
DllExport int writeSTLFile(char *fname, BREP_SOLID *solid, bool ascii=false)
Definition STL.cpp:74
std::list< BREP_SOLID * > BREP_SOLID_LIST
Definition Brep.h:41
DllExport int writeSTLFileB(char *fname, BREP_SOLID *solid)
Definition STL.cpp:273
unsigned short pad
Definition STL.h:33
データ読み込み用一時データ
Definition STL.h:20