Compare commits
523 Commits
CR25583
...
NewGEOM_2.
Author | SHA1 | Date | |
---|---|---|---|
|
b3cbd47d26 | ||
|
9e5394288d | ||
|
3b5f0ca372 | ||
|
6c672f4cd0 | ||
|
1384cb64c9 | ||
|
d222f955df | ||
|
56b5a03379 | ||
|
1a060fcf21 | ||
|
575e33ceba | ||
|
b9f21bee94 | ||
|
258faef5fc | ||
|
5add7c09fc | ||
|
9ec3668b82 | ||
|
05ff38f667 | ||
|
ee9749a81f | ||
|
200a6865ad | ||
|
a86456de9a | ||
|
b6c4618c0e | ||
|
74e9b952a4 | ||
|
0d90638880 | ||
|
5bf1fb8dce | ||
|
fd2f5a2535 | ||
|
2fc40ae3de | ||
|
00ffff5c8c | ||
|
086964d58a | ||
|
fd87d80b23 | ||
|
9189dced18 | ||
|
c16859d7b6 | ||
|
2e6bcdaf8e | ||
|
5d3ec53550 | ||
|
55b22036f8 | ||
|
0b2fbc70d3 | ||
|
104c1cf105 | ||
|
898c424b6b | ||
|
46b15b8275 | ||
|
a4eb991a8e | ||
|
f2f478782f | ||
|
98926f98db | ||
|
68dace5e56 | ||
|
f81b508020 | ||
|
46480f36ed | ||
|
a8dabcc5f7 | ||
|
dbde431489 | ||
|
5b755bca16 | ||
|
1925eae948 | ||
|
61b0059a45 | ||
|
4c15f1799b | ||
|
ccf61b1b85 | ||
|
f6749d511e | ||
|
d833925587 | ||
|
81c75bf30d | ||
|
c3a1713672 | ||
|
a99ae14b48 | ||
|
32b95ded37 | ||
|
af6b493fc9 | ||
|
409de561cd | ||
|
f435c40bc8 | ||
|
0b94a4f33d | ||
|
4ce07e4ec6 | ||
|
23ea021260 | ||
|
d18c866246 | ||
|
f206b65145 | ||
|
da871fb5c9 | ||
|
1c9e5ae0f1 | ||
|
e84806af3b | ||
|
4ae88e723d | ||
|
134735be7b | ||
|
b01be5abf8 | ||
|
574ea6faba | ||
|
a2361eda86 | ||
|
d0af00dc66 | ||
|
e965d0c73c | ||
|
17e64c3080 | ||
|
fec4763816 | ||
|
3884c1d394 | ||
|
52ee6a456b | ||
|
1c6adc4f1e | ||
|
e297ccbaa1 | ||
|
e09a591f48 | ||
|
cc19ba1caf | ||
|
11fd45038f | ||
|
41d16f029b | ||
|
8b04c979b2 | ||
|
7c2cc7228d | ||
|
eb20feb3bc | ||
|
dd531ee973 | ||
|
ec356f5273 | ||
|
1ba2234442 | ||
|
08c65c2355 | ||
|
86fc2729b8 | ||
|
73bc951212 | ||
|
5d59062054 | ||
|
c93109fe43 | ||
|
1ecda52ad7 | ||
|
c19a07bc44 | ||
|
a2e99c91fa | ||
|
f85265c252 | ||
|
9926d83075 | ||
|
9b22664c02 | ||
|
e646e2af68 | ||
|
c57360a7ce | ||
|
d3fab23ba9 | ||
|
c6a60baab7 | ||
|
c633105394 | ||
|
9780f0e177 | ||
|
58c3e0dcd4 | ||
|
6063352953 | ||
|
271eca4e51 | ||
|
06fe939893 | ||
|
f6ec43465e | ||
|
24bda0a60b | ||
|
1a8e73d756 | ||
|
a010375290 | ||
|
efe826bff1 | ||
|
534beb0a8d | ||
|
bc479df6c7 | ||
|
233b69d788 | ||
|
2c74997d54 | ||
|
91378854c3 | ||
|
704116ecb1 | ||
|
76b8e79250 | ||
|
d0da782fe1 | ||
|
067a4a33d8 | ||
|
9af6ab1e5c | ||
|
f6c4ac4b8d | ||
|
838a9fca4b | ||
|
a1b71d7f53 | ||
|
f9b5dde31f | ||
|
de2f4c61bf | ||
|
f2d0720f0e | ||
|
e5e388ac07 | ||
|
4a934783ee | ||
|
e55cd82c8e | ||
|
9f87ad8c86 | ||
|
cf4520ebc6 | ||
|
039add17a8 | ||
|
c1f20b28fe | ||
|
5fcc7382dc | ||
|
b44e3bbd33 | ||
|
bd7987d5dd | ||
|
06ce88fdef | ||
|
168bef440d | ||
|
7e66f8d719 | ||
|
954e19f009 | ||
|
587c15bd7d | ||
|
026dbb46c9 | ||
|
5050c82886 | ||
|
3e673cffa9 | ||
|
ae5635ca15 | ||
|
edab390e05 | ||
|
44d4c9e586 | ||
|
4b2089edec | ||
|
de7efa01cc | ||
|
ff70447591 | ||
|
6658b677bc | ||
|
5719c9ecc4 | ||
|
6670aadd5d | ||
|
84c9d28189 | ||
|
b97a779a9f | ||
|
b5913c3c89 | ||
|
5520ae9665 | ||
|
f44d9449e4 | ||
|
b96d3ed29d | ||
|
5b27fad6ce | ||
|
9f1bb68f68 | ||
|
6c3dff3505 | ||
|
114aa0dcf6 | ||
|
8b318a2ed9 | ||
|
1edc472052 | ||
|
7197da1a33 | ||
|
b34ca16935 | ||
|
c8dad3b06c | ||
|
6d3066d9b8 | ||
|
f8fdf72ad2 | ||
|
f0ab769c94 | ||
|
fd75a870c5 | ||
|
0fcd05c599 | ||
|
15655a8ba3 | ||
|
bcd2ec1031 | ||
|
213046ff8a | ||
|
ab1be48a6a | ||
|
f00e46680f | ||
|
295990967f | ||
|
49c44da2ad | ||
|
7f2a0207a7 | ||
|
813378a1a4 | ||
|
24b4a814bf | ||
|
00e18bf7e4 | ||
|
a72c4cb0e7 | ||
|
06b2381dc9 | ||
|
0ccb5dcc03 | ||
|
e5db9d8f50 | ||
|
72d472e0c7 | ||
|
bd7a454d6c | ||
|
83f70fe2b4 | ||
|
e32b64f095 | ||
|
bcbb5d9ba4 | ||
|
cbb329c42c | ||
|
b3b55601fb | ||
|
2cf5ec3f1c | ||
|
2124e769d1 | ||
|
b767425413 | ||
|
ec81011f5b | ||
|
d4aaad5b82 | ||
|
9319499b57 | ||
|
bf3977c9f9 | ||
|
2157d6ac63 | ||
|
35c4a17c46 | ||
|
30a7308729 | ||
|
28ee613b27 | ||
|
fe3a29bc9a | ||
|
2ff806d1ab | ||
|
edbca3bf00 | ||
|
c070aa3915 | ||
|
9d32c463ad | ||
|
4946f2d8ef | ||
|
0bbdddae85 | ||
|
a7f510bfae | ||
|
11bf7051d9 | ||
|
0df8756310 | ||
|
ff0a70a157 | ||
|
2f697f2f74 | ||
|
95db72f1f6 | ||
|
1c22cc2d27 | ||
|
7693827d4a | ||
|
97f3106c05 | ||
|
63073e35ce | ||
|
c259930b8e | ||
|
2683e647de | ||
|
4422364ec3 | ||
|
29e2c6d247 | ||
|
2b5097c676 | ||
|
16f82a28dc | ||
|
806b45f2f2 | ||
|
31024507f6 | ||
|
ec26bf88a2 | ||
|
cd37e04879 | ||
|
985aed12ec | ||
|
d66bd706ce | ||
|
905522eef8 | ||
|
76a2b7d1fb | ||
|
6ab722979b | ||
|
46b2b6afa0 | ||
|
7b1c1b7cbb | ||
|
062d7dfd62 | ||
|
96f3baccc5 | ||
|
6b5b88d707 | ||
|
f47b8d2b37 | ||
|
5e18f91719 | ||
|
7ab159522a | ||
|
e99a2f7cae | ||
|
6ca1fa7070 | ||
|
0a66e59dad | ||
|
ae3eaf7b15 | ||
|
ecd58be64a | ||
|
7cb899171d | ||
|
08f906ff37 | ||
|
38a0206f60 | ||
|
b85b0b0731 | ||
|
c87535af15 | ||
|
57c718c4b9 | ||
|
d721c8eb3d | ||
|
681cfe76b0 | ||
|
75d1222c2f | ||
|
032158d63d | ||
|
b0deeecfba | ||
|
35d1221827 | ||
|
f3981c67c3 | ||
|
8d64c0cc40 | ||
|
b3c433fea3 | ||
|
2afd4e9888 | ||
|
c3715b7477 | ||
|
74f91efccd | ||
|
58978f9bef | ||
|
699239e457 | ||
|
3eac3f55a5 | ||
|
cc2b0ec0e3 | ||
|
687574c09d | ||
|
867acdec68 | ||
|
5682a02934 | ||
|
5ae01c8551 | ||
|
67680042bc | ||
|
0c015ee26c | ||
|
9dfbbfe673 | ||
|
c40b7d580e | ||
|
d2d0f00268 | ||
|
f25b82d624 | ||
|
8ba678133b | ||
|
af65fb1941 | ||
|
ce77f9998a | ||
|
494782f666 | ||
|
7bb2b8293a | ||
|
a21ab2c1a1 | ||
|
4057f898f7 | ||
|
85a975f112 | ||
|
cf537aacf7 | ||
|
1d19db8dad | ||
|
346cf025a5 | ||
|
124ee9c962 | ||
|
42f8ba5632 | ||
|
3186aee9b6 | ||
|
43ebf89c22 | ||
|
f483f2ed11 | ||
|
91c60b5790 | ||
|
5b055f07b3 | ||
|
306f5893ea | ||
|
d585e74e51 | ||
|
138ac5300a | ||
|
6f7c5420f8 | ||
|
b5ef9d9151 | ||
|
536d98e224 | ||
|
24e40cc2dc | ||
|
e9e33e9167 | ||
|
cbca8a98e6 | ||
|
447c411576 | ||
|
d1db9125d0 | ||
|
aa9d6bec4e | ||
|
41ed1ed236 | ||
|
f751596e46 | ||
|
7a91ad6e81 | ||
|
7e859dff1b | ||
|
e135a1559a | ||
|
a2e4f780c2 | ||
|
44ef962bdd | ||
|
d4271fe56f | ||
|
269e9c3640 | ||
|
e1c659da58 | ||
|
dc5bfeae8b | ||
|
53a701974a | ||
|
65360da3db | ||
|
fd372378a1 | ||
|
1804bb99a6 | ||
|
ef0bfc15cc | ||
|
a3ee6e9f77 | ||
|
c1e0171c58 | ||
|
2905ff1727 | ||
|
b34efb623c | ||
|
39d24c098c | ||
|
3516cdec44 | ||
|
aa5f963b81 | ||
|
9aa684edf4 | ||
|
7331b4eec9 | ||
|
0a512187fd | ||
|
d4b867e617 | ||
|
2a8523acca | ||
|
d44e14e3f6 | ||
|
a3ac9c24ce | ||
|
07039714ab | ||
|
1dee069608 | ||
|
1cdee2a613 | ||
|
4e2914a6a0 | ||
|
936f43da8a | ||
|
08e464755d | ||
|
457b01e271 | ||
|
0a243bb4c4 | ||
|
e4ffdb1e40 | ||
|
36132a2ec8 | ||
|
a79f67f8d8 | ||
|
41e259eb8b | ||
|
9bd59d1c5b | ||
|
dfa0d64a91 | ||
|
1a6751b196 | ||
|
c4af16fbf3 | ||
|
7f0b39bec9 | ||
|
4dcc5ecb4f | ||
|
b12a3e54fc | ||
|
18ee2939c3 | ||
|
0f9f1f4ea0 | ||
|
095999010f | ||
|
3062fdf993 | ||
|
b11a99d9c1 | ||
|
ee51a9fe3a | ||
|
77e39787b4 | ||
|
3629864d0b | ||
|
8d44b0a05f | ||
|
458c2c5828 | ||
|
4e1523ef0b | ||
|
7f91733552 | ||
|
076b125a90 | ||
|
9a5a19e98f | ||
|
ef237d732d | ||
|
9bf3177ff6 | ||
|
3163e9fdeb | ||
|
4c5133866b | ||
|
5149c3f34b | ||
|
1a75746e71 | ||
|
50f32555af | ||
|
e94f2bfb11 | ||
|
a272ed9466 | ||
|
8621cdc2b7 | ||
|
6262338c4b | ||
|
44b47a9a7e | ||
|
d2094e110f | ||
|
f1b0b4f9c6 | ||
|
a3476a9fe2 | ||
|
9a6ea9c479 | ||
|
43e9197e9a | ||
|
760c21c2c4 | ||
|
c8187bb218 | ||
|
5bffb88282 | ||
|
a1096551c9 | ||
|
31b1749c42 | ||
|
69f86542ba | ||
|
50b994e73f | ||
|
6ddebb77cb | ||
|
b86bb3df20 | ||
|
af99433e4e | ||
|
bd28b2afac | ||
|
7ad63454a5 | ||
|
172f635278 | ||
|
7121535194 | ||
|
696d81d000 | ||
|
0a9b38ef44 | ||
|
40738f9ad7 | ||
|
59f520585b | ||
|
e002f1ce5b | ||
|
7a7e8cf174 | ||
|
19589673b3 | ||
|
859a47c3d1 | ||
|
8d9052db19 | ||
|
8750c36a35 | ||
|
d088c9c2a1 | ||
|
2c7b466ce6 | ||
|
95b2678c73 | ||
|
42b96b07b5 | ||
|
873c119ff1 | ||
|
48e653b689 | ||
|
b0091bc929 | ||
|
2c12770c38 | ||
|
20f319cdb8 | ||
|
2bfe59b69c | ||
|
fc0180e5f3 | ||
|
e32045fd71 | ||
|
4af098bab9 | ||
|
0090ae85ab | ||
|
b70d2b0999 | ||
|
b8f2022f8c | ||
|
eea55df528 | ||
|
d584648954 | ||
|
5bd9ed9369 | ||
|
348ff75335 | ||
|
2fe4f8f37b | ||
|
a41fbc10b9 | ||
|
7a5f12021e | ||
|
8d3aa19e69 | ||
|
15b54261a3 | ||
|
9ccea0c628 | ||
|
0769561063 | ||
|
a4d5c9abcc | ||
|
e8746a262f | ||
|
3f733bb126 | ||
|
14a35e5d91 | ||
|
c7b59798ca | ||
|
a61133c8c7 | ||
|
298fdbfb18 | ||
|
0bb1f1133c | ||
|
f5fa6b335c | ||
|
31e0b8e84c | ||
|
0b0320e76e | ||
|
843e15cd32 | ||
|
b9c1e44004 | ||
|
402bfe81c0 | ||
|
b990e5579a | ||
|
bcf50875e3 | ||
|
5fd3308acd | ||
|
433673e0dd | ||
|
e3414ada99 | ||
|
1e99558fbd | ||
|
34a0b4463a | ||
|
4e0311752a | ||
|
9bf0740bed | ||
|
4366363b04 | ||
|
2157cfd0ef | ||
|
fd3ba7a1d9 | ||
|
0bb09048e2 | ||
|
df515f16ce | ||
|
b2af2f567d | ||
|
a70f58235a | ||
|
c7806cb6e6 | ||
|
6da30ff153 | ||
|
e2b55410ff | ||
|
07f1a2e68c | ||
|
618617fe06 | ||
|
76eeac70cf | ||
|
52ba6031e8 | ||
|
0fe1715f01 | ||
|
79186c39b3 | ||
|
89bc1237a4 | ||
|
bdde45c38c | ||
|
dba608bb39 | ||
|
27a6612865 | ||
|
da72a17c80 | ||
|
a195430212 | ||
|
92e24f9d36 | ||
|
19dcfc1bdb | ||
|
8f7e78f4de | ||
|
99c5f9f045 | ||
|
1b7ae95146 | ||
|
e2da917a1c | ||
|
71595c2970 | ||
|
55b05039a4 | ||
|
6b0e8bd1a9 | ||
|
89cc29b0b5 | ||
|
cbff1e5531 | ||
|
460f4f693a | ||
|
edbf88ba99 | ||
|
4f0d73a918 | ||
|
fa89e0828b | ||
|
cd0a63dd7b | ||
|
63d907e787 | ||
|
43cb001124 | ||
|
49297cb6bd | ||
|
c857a60abe | ||
|
6504f8cd28 | ||
|
97c44f4156 | ||
|
bcf045cfdc | ||
|
c31e0defd7 | ||
|
6a38ff486c | ||
|
c8be748cd4 | ||
|
df932fdfb2 | ||
|
2195ab9699 | ||
|
270675f51e | ||
|
bc88a67737 |
@@ -10,6 +10,18 @@ endif()
|
||||
|
||||
set (CMAKE_CONFIGURATION_TYPES ${BUILD_CONFIGURATION} CACHE INTERNAL "" FORCE)
|
||||
|
||||
# set type of OCCT libraries
|
||||
if (NOT BUILD_LIBRARY_TYPE)
|
||||
set (BUILD_LIBRARY_TYPE "Shared" CACHE STRING "The type of OCCT libraries" FORCE)
|
||||
SET_PROPERTY(CACHE BUILD_LIBRARY_TYPE PROPERTY STRINGS Shared Static)
|
||||
endif()
|
||||
|
||||
if ("${BUILD_LIBRARY_TYPE}" STREQUAL "Shared")
|
||||
set (BUILD_SHARED_LIBS ON)
|
||||
else()
|
||||
unset (BUILD_SHARED_LIBS)
|
||||
endif()
|
||||
|
||||
# the name of the project
|
||||
project (OCCT)
|
||||
|
||||
@@ -86,8 +98,8 @@ if ("${3RDPARTY_DIR}" STREQUAL "")
|
||||
set (3RDPARTY_DIR "$ENV{3RDPARTY_DIR}" CACHE PATH ${3RDPARTY_DIR_LABEL} FORCE)
|
||||
elseif (EXISTS "${CMAKE_SOURCE_DIR}/../")
|
||||
# in version 6.7.0 and above, occt parent directory contains 3rdparties
|
||||
GET_FILENAME_COMPONENT(3RDPARTY_DIR "${CMAKE_SOURCE_DIR}/../" ABSOLUTE)
|
||||
SET(3RDPARTY_DIR "${3RDPARTY_DIR}" CACHE PATH ${3RDPARTY_DIR_LABEL} FORCE)
|
||||
get_filename_component (3RDPARTY_DIR "${CMAKE_SOURCE_DIR}/../" ABSOLUTE)
|
||||
set (3RDPARTY_DIR "${3RDPARTY_DIR}" CACHE PATH ${3RDPARTY_DIR_LABEL} FORCE)
|
||||
endif()
|
||||
endif()
|
||||
|
||||
@@ -98,13 +110,8 @@ if ("${USE_TCL}" STREQUAL ON)
|
||||
message (STATUS "Info: tcl is used by OCCT")
|
||||
OCCT_INCLUDE_CMAKE_FILE ("adm/templates/tcl")
|
||||
else()
|
||||
OCCT_CHECK_AND_UNSET ("3RDPARTY_TCL_DIR")
|
||||
OCCT_CHECK_AND_UNSET ("3RDPARTY_TCL_INCLUDE_DIR")
|
||||
OCCT_CHECK_AND_UNSET ("3RDPARTY_TCL_LIBRARY")
|
||||
OCCT_CHECK_AND_UNSET ("3RDPARTY_TCL_LIBRARY_DIR")
|
||||
OCCT_CHECK_AND_UNSET ("3RDPARTY_TK_INCLUDE_DIR")
|
||||
OCCT_CHECK_AND_UNSET ("3RDPARTY_TK_LIBRARY")
|
||||
OCCT_CHECK_AND_UNSET ("3RDPARTY_TK_LIBRARY_DIR")
|
||||
OCCT_CHECK_AND_UNSET_GROUP ("3RDPARTY_TCL")
|
||||
OCCT_CHECK_AND_UNSET_GROUP ("3RDPARTY_TK")
|
||||
endif()
|
||||
|
||||
# search for CSF_FREETYPE variable in EXTERNLIB of each being used toolkit
|
||||
@@ -114,11 +121,9 @@ if ("${USE_FREETYPE}" STREQUAL ON)
|
||||
message (STATUS "Info: freetype is used by OCCT")
|
||||
OCCT_INCLUDE_CMAKE_FILE ("adm/templates/freetype")
|
||||
else()
|
||||
OCCT_CHECK_AND_UNSET ("3RDPARTY_FREETYPE_DIR")
|
||||
OCCT_CHECK_AND_UNSET_GROUP ("3RDPARTY_FREETYPE")
|
||||
OCCT_CHECK_AND_UNSET ("3RDPARTY_FREETYPE_INCLUDE_DIR_freetype2")
|
||||
OCCT_CHECK_AND_UNSET ("3RDPARTY_FREETYPE_INCLUDE_DIR_ft2build")
|
||||
OCCT_CHECK_AND_UNSET ("3RDPARTY_FREETYPE_LIBRARY")
|
||||
OCCT_CHECK_AND_UNSET ("3RDPARTY_FREETYPE_LIBRARY_DIR")
|
||||
endif()
|
||||
|
||||
# VTK
|
||||
@@ -167,7 +172,7 @@ endif()
|
||||
|
||||
# TBB
|
||||
if (USE_TBB)
|
||||
ADD_DEFINITIONS(-DHAVE_TBB)
|
||||
add_definitions (-DHAVE_TBB)
|
||||
OCCT_INCLUDE_CMAKE_FILE ("adm/templates/tbb")
|
||||
else()
|
||||
OCCT_CHECK_AND_UNSET_GROUP ("3RDPARTY_TBB")
|
||||
|
@@ -179,6 +179,15 @@ macro (THIRDPARTY_PRODUCT PRODUCT_NAME HEADER_NAME LIBRARY_NAME LIBRARY_NAME_DEB
|
||||
else()
|
||||
install (FILES "${3RDPARTY_${PRODUCT_NAME}_LIBRARY}" DESTINATION "${INSTALL_DIR}/${OS_WITH_BIT}/${COMPILER}/lib${BUILD_POSTFIX}")
|
||||
endif()
|
||||
|
||||
set (USED_3RDPARTY_${PRODUCT_NAME}_DIR "")
|
||||
else()
|
||||
# the library directory for using by the executable
|
||||
if (WIN32)
|
||||
set (USED_3RDPARTY_${PRODUCT_NAME}_DIR "${3RDPARTY_${PRODUCT_NAME}_DLL_DIR}")
|
||||
else()
|
||||
set (USED_3RDPARTY_${PRODUCT_NAME}_DIR "${3RDPARTY_${PRODUCT_NAME}_LIBRARY_DIR}")
|
||||
endif()
|
||||
endif()
|
||||
|
||||
mark_as_advanced (3RDPARTY_${PRODUCT_NAME}_LIBRARY 3RDPARTY_${PRODUCT_NAME}_DLL)
|
||||
|
@@ -3,12 +3,13 @@ echo off
|
||||
if "%VCVER%" == "@COMPILER@" (
|
||||
if "%ARCH%" == "@COMPILER_BITNESS@" (
|
||||
if "%CASDEB%" == "@BUILD_POSTFIX@" (
|
||||
set "TCL_DIR=@3RDPARTY_TCL_DLL_DIR@"
|
||||
set "FREETYPE_DIR=@3RDPARTY_FREETYPE_DLL_DIR@"
|
||||
set "FREEIMAGE_DIR=@3RDPARTY_FREEIMAGE_DLL_DIR@"
|
||||
set "GL2PS_DIR=@3RDPARTY_GL2PS_DLL_DIR@"
|
||||
set "TBB_DIR=@3RDPARTY_TBB_DLL_DIR@"
|
||||
set "VTK_DIR=@3RDPARTY_VTK_DLL_DIR@"
|
||||
set "TCL_DIR=@USED_3RDPARTY_TCL_DIR@"
|
||||
set "FREETYPE_DIR=@USED_3RDPARTY_FREETYPE_DIR@"
|
||||
set "FREEIMAGE_DIR=@USED_3RDPARTY_FREEIMAGE_DIR@"
|
||||
set "FREEIMAGEPLUS_DIR=@USED_3RDPARTY_FREEIMAGEPLUS_DIR@"
|
||||
set "GL2PS_DIR=@USED_3RDPARTY_GL2PS_DIR@"
|
||||
set "TBB_DIR=@USED_3RDPARTY_TBB_DIR@"
|
||||
set "VTK_DIR=@USED_3RDPARTY_VTK_DIR@"
|
||||
)
|
||||
)
|
||||
)
|
||||
|
@@ -3,12 +3,12 @@
|
||||
if [ "$COMPILER" == "@COMPILER@" ]; then
|
||||
if [ "$ARCH" == "@COMPILER_BITNESS@" ]; then
|
||||
if [ "$CASDEB" == "@BUILD_POSTFIX@" ]; then
|
||||
export TCL_DIR="@3RDPARTY_TCL_LIBRARY_DIR@"
|
||||
export FREETYPE_DIR="@3RDPARTY_FREETYPE_LIBRARY_DIR@"
|
||||
export FREEIMAGE_DIR="@3RDPARTY_FREEIMAGE_LIBRARY_DIR@"
|
||||
export GL2PS_DIR="@3RDPARTY_GL2PS_LIBRARY_DIR@"
|
||||
export TBB_DIR="@3RDPARTY_TBB_LIBRARY_DIR@"
|
||||
export VTK_DIR="@3RDPARTY_VTK_LIBRARY_DIR@"
|
||||
export TCL_DIR="@USED_3RDPARTY_TCL_DIR@"
|
||||
export FREETYPE_DIR="@USED_3RDPARTY_FREETYPE_DIR@"
|
||||
export FREEIMAGE_DIR="@USED_3RDPARTY_FREEIMAGE_DIR@"
|
||||
export GL2PS_DIR="@USED_3RDPARTY_GL2PS_DIR@"
|
||||
export TBB_DIR="@USED_3RDPARTY_TBB_DIR@"
|
||||
export VTK_DIR="@USED_3RDPARTY_VTK_DIR@"
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
|
@@ -22,12 +22,13 @@ if ["%CASROOT%"] == [""] set "CASROOT=%SCRIPTROOT%"
|
||||
|
||||
set "ORIGIN_PATH=%PATH%"
|
||||
|
||||
if not ["%TCL_DIR%"] == [""] set "PATH=%TCL_DIR%;%PATH%"
|
||||
if not ["%FREETYPE_DIR%"] == [""] set "PATH=%FREETYPE_DIR%;%PATH%"
|
||||
if not ["%FREEIMAGE_DIR%"] == [""] set "PATH=%FREEIMAGE_DIR%;%PATH%"
|
||||
if not ["%GL2PS_DIR%"] == [""] set "PATH=%GL2PS_DIR%;%PATH%"
|
||||
if not ["%TBB_DIR%"] == [""] set "PATH=%TBB_DIR%;%PATH%"
|
||||
if not ["%VTK_DIR%"] == [""] set "PATH=%VTK_DIR%;%PATH%"
|
||||
if not ["%TCL_DIR%"] == [""] set "PATH=%TCL_DIR%;%PATH%"
|
||||
if not ["%FREETYPE_DIR%"] == [""] set "PATH=%FREETYPE_DIR%;%PATH%"
|
||||
if not ["%FREEIMAGE_DIR%"] == [""] set "PATH=%FREEIMAGE_DIR%;%PATH%"
|
||||
if not ["%FREEIMAGEPLUS_DIR%"] == [""] set "PATH=%FREEIMAGEPLUS_DIR%;%PATH%"
|
||||
if not ["%GL2PS_DIR%"] == [""] set "PATH=%GL2PS_DIR%;%PATH%"
|
||||
if not ["%TBB_DIR%"] == [""] set "PATH=%TBB_DIR%;%PATH%"
|
||||
if not ["%VTK_DIR%"] == [""] set "PATH=%VTK_DIR%;%PATH%"
|
||||
|
||||
rem ----- Set path to 3rd party and OCCT libraries -----
|
||||
set "BIN_TAIL=win%ARCH%/%VCVER%/bin%CASDEB%"
|
||||
|
@@ -223,6 +223,15 @@ if (INSTALL_FREETYPE)
|
||||
else()
|
||||
install (FILES "${3RDPARTY_FREETYPE_LIBRARY}" DESTINATION "${INSTALL_DIR}/${OS_WITH_BIT}/${COMPILER}/lib${BUILD_POSTFIX}")
|
||||
endif()
|
||||
|
||||
set (USED_3RDPARTY_FREETYPE_DIR "")
|
||||
else()
|
||||
# the library directory for using by the executable
|
||||
if (WIN32)
|
||||
set (USED_3RDPARTY_FREETYPE_DIR ${3RDPARTY_FREETYPE_DLL_DIR})
|
||||
else()
|
||||
set (USED_3RDPARTY_FREETYPE_DIR ${3RDPARTY_FREETYPE_LIBRARY_DIR})
|
||||
endif()
|
||||
endif()
|
||||
|
||||
# unset all redundant variables
|
||||
|
@@ -63,6 +63,8 @@ macro (OCCT_MAKE_COMPILER_SHORT_NAME)
|
||||
set (COMPILER vc11)
|
||||
elseif (MSVC12)
|
||||
set (COMPILER vc12)
|
||||
elseif (MSVC14)
|
||||
set (COMPILER vc14)
|
||||
endif()
|
||||
elseif (DEFINED CMAKE_COMPILER_IS_GNUCC)
|
||||
set (COMPILER gcc)
|
||||
|
@@ -236,6 +236,15 @@ if (INSTALL_TBB)
|
||||
else()
|
||||
install (FILES ${3RDPARTY_TBB_LIBRARY} ${3RDPARTY_TBBMALLOC_LIBRARY} DESTINATION "${INSTALL_DIR}/${OS_WITH_BIT}/${COMPILER}/lib${BUILD_POSTFIX}")
|
||||
endif()
|
||||
|
||||
set (USED_3RDPARTY_TBB_DIR "")
|
||||
else()
|
||||
# the library directory for using by the executable
|
||||
if (WIN32)
|
||||
set (USED_3RDPARTY_TBB_DIR ${3RDPARTY_TBB_DLL_DIR})
|
||||
else()
|
||||
set (USED_3RDPARTY_TBB_DIR ${3RDPARTY_TBB_LIBRARY_DIR})
|
||||
endif()
|
||||
endif()
|
||||
|
||||
mark_as_advanced (3RDPARTY_TBB_LIBRARY 3RDPARTY_TBBMALLOC_LIBRARY 3RDPARTY_TBB_DLL 3RDPARTY_TBBMALLOC_DLL)
|
||||
|
@@ -318,6 +318,15 @@ if (INSTALL_TCL)
|
||||
message (STATUS "\nWarning: tclX.X and tkX.X subdirs won't be copyied during the installation process.")
|
||||
message (STATUS "Try seeking tcl within another folder by changing 3RDPARTY_TCL_DIR variable.")
|
||||
endif()
|
||||
|
||||
set (USED_3RDPARTY_TCL_DIR "")
|
||||
else()
|
||||
# the library directory for using by the executable
|
||||
if (WIN32)
|
||||
set (USED_3RDPARTY_TCL_DIR ${3RDPARTY_TCL_DLL_DIR})
|
||||
else()
|
||||
set (USED_3RDPARTY_TCL_DIR ${3RDPARTY_TCL_LIBRARY_DIR})
|
||||
endif()
|
||||
endif()
|
||||
|
||||
mark_as_advanced (3RDPARTY_TCL_LIBRARY 3RDPARTY_TK_LIBRARY 3RDPARTY_TCL_DLL 3RDPARTY_TK_DLL)
|
||||
|
@@ -151,6 +151,15 @@ if (INSTALL_VTK)
|
||||
install(FILES "${3RDPARTY_VTK_LIBRARY_DIR}/lib${VTK_DLL_NAME}" DESTINATION "${INSTALL_DIR}/${OS_WITH_BIT}/${COMPILER}/lib${BUILD_POSTFIX}" RENAME "lib${VTK_DLL_NAME}")
|
||||
endforeach()
|
||||
endif()
|
||||
|
||||
set (USED_3RDPARTY_VTK_DIR "")
|
||||
else()
|
||||
# the library directory for using by the executable
|
||||
if (WIN32)
|
||||
set (USED_3RDPARTY_VTK_DIR ${3RDPARTY_VTK_DLL_DIR})
|
||||
else()
|
||||
set (USED_3RDPARTY_VTK_DIR ${3RDPARTY_VTK_LIBRARY_DIR})
|
||||
endif()
|
||||
endif()
|
||||
|
||||
mark_as_advanced (VTK_INCLUDE_DIRS VTK_LIBRARY_DIRS VTK_DIR)
|
||||
|
@@ -204,7 +204,7 @@ The definition of the following attributes is obligatory:
|
||||
| Open | The issue is being processed. |
|
||||
| Fixed | The issue has been successfully fixed. |
|
||||
| Reopened | The bug has been reopened because of insufficient fix or regression. |
|
||||
| | Unable to reproduceThe bug is not reproduced. |
|
||||
| Unable to reproduce | The bug is not reproduced. |
|
||||
| Not fixable | The bug cannot be fixed because it is a bug of third party software, or because it requires more workload than it can be allowed. |
|
||||
| Duplicate | The bug for the same issue already exists in the tracker. |
|
||||
| Not a bug | It is a normal behavior in accordance with the specification of the product |
|
||||
|
@@ -85,7 +85,7 @@ const char* BRepTools_Write (const char* theFileNameStr, void* theShapePtr)
|
||||
~~~~~
|
||||
|
||||
Saves the specified shape to a file with the given name.
|
||||
- *theFileNameStr* - the DRAW interpreter variable name to set.
|
||||
- *theFileNameStr* - the name of the file where the shape is saved.
|
||||
- *theShapePtr* - a pointer to *TopoDS_Shape* variable.
|
||||
|
||||
~~~~~
|
||||
@@ -104,7 +104,7 @@ const char* BRepMesh_Dump (void* theMeshHandlePtr, const char* theFileNameStr)
|
||||
|
||||
Stores mesh produced in parametric space to BREP file.
|
||||
- *theMeshHandlePtr* - a pointer to *Handle(BRepMesh_DataStructureOfDelaun)* variable.
|
||||
- *theFileNameStr* - name of file the mesh sould be stored to.
|
||||
- *theFileNameStr* - the name of the file where the mesh is stored.
|
||||
|
||||
The following additional function is provided by *TKGeomBase* toolkit:
|
||||
|
||||
@@ -269,4 +269,22 @@ Handle_TCollection_HAsciiString {
|
||||
}
|
||||
~~~~~
|
||||
|
||||
In Visual Studio 2012 and later, visualizers can be put in a separate file in subdirectory *Visualizers*. See file *occt.natvis* for example.
|
||||
In Visual Studio 2012 and later, visualizers can be put in a separate file in subdirectory *Visualizers*. See file *occt.natvis* for example.
|
||||
|
||||
@section occt_debug_perf Performance measurement tools
|
||||
|
||||
It is recommended to use specialized performance analysis tools to profile OCCT and application code.
|
||||
However, when such tools are not available or cannot be used for some reason, tools provided by OSD package can be used: low-level C functions and macros defined in *OSD_PerfMeter.h* and *OSD_PerfMeter* class.
|
||||
|
||||
This tool maintains an array of 100 global performance counters that can be started and stopped independently. Adding a performance counter to a function of interest allows to get statistics on the number of calls and the total execution time of the function.
|
||||
* In C++ code, this can be achieved by creating local variable *OSD_PerfMeter* in each block of code to be measured.
|
||||
* In C or Fortran code, use functions *perf_start_meter* and *perf_stop_meter* to start and stop the counter.
|
||||
|
||||
Note that this instrumentation is intended to be removed when the profiling is completed.
|
||||
|
||||
Macros provided in *OSD_PerfMeter.h* can be used to keep instrumentation code permanently but enable it only when macro *PERF_ENABLE_METERS* is defined.
|
||||
Each counter has its name shown when the collected statistics are printed.
|
||||
|
||||
In DRAW, use command *dperf* to print all performance statistics.
|
||||
|
||||
Note that performance counters are not thread-safe.
|
||||
|
@@ -140,7 +140,8 @@ dev_guides/svn/svn.md
|
||||
|
||||
@section OCCT_DOC_SECTION_5 Additional Resources
|
||||
|
||||
More information about OCCT can be found at http://www.opencascade.org
|
||||
More information about OCCT can be found at http://www.opencascade.com and http://dev.opencascade.org sites.
|
||||
|
||||
|
||||
The information on formula syntax can be found at:
|
||||
http://en.wikipedia.org/wiki/Help:Displaying_a_formula
|
||||
|
@@ -23,7 +23,7 @@ The tests are organized in three levels:
|
||||
|
||||
See <a href="#testmanual_5_1">Test Groups</a> for the current list of available test groups and grids.
|
||||
|
||||
Some tests involve data files (typically CAD models) which are located separately and are not included with OCCT code. The archive with publicly available test data files should be downloaded and installed independently on OCCT sources (from http://dev.opencascade.org).
|
||||
Some tests involve data files (typically CAD models) which are located separately and are not included with OCCT code. The archive with publicly available test data files should be downloaded and installed independently on OCCT sources (see http://dev.opencascade.org).
|
||||
|
||||
@subsection testmanual_1_2 Intended Use of Automatic Tests
|
||||
|
||||
@@ -44,7 +44,6 @@ The modifications made in the OCCT code and related test scripts should be inclu
|
||||
@subsubsection testmanual_1_3_1 Setup
|
||||
|
||||
Before running tests, make sure to define environment variable *CSF_TestDataPath* pointing to the directory containing test data files.
|
||||
(Publicly available data files can be downloaded from http://dev.opencascade.org separately from OCCT code.)
|
||||
|
||||
For this it is recommended to add a file *DrawAppliInit* in the directory which is current at the moment of starting DRAWEXE (normally it is OCCT root directory, <i>$CASROOT </i>). This file is evaluated automatically at the DRAW start.
|
||||
|
||||
@@ -58,7 +57,7 @@ return ;# this is to avoid an echo of the last command above in cout
|
||||
Note that variable *CSF_TestDataPath* is set to default value at DRAW start, pointing at the folder <i>$CASROOT/data</i>.
|
||||
In this example, subdirectory <i>d:/occt/test-data</i> is added to this path. Similar code could be used on Linux and Mac OS X except that on non-Windows platforms colon ":" should be used as path separator instead of semicolon ";".
|
||||
|
||||
All tests are run from DRAW command prompt (run *draw.tcl* or *draw.sh* to start it).
|
||||
All tests are run from DRAW command prompt (run *draw.bat* or *draw.sh* to start it).
|
||||
|
||||
@subsubsection testmanual_1_3_2 Running Tests
|
||||
|
||||
@@ -70,8 +69,8 @@ Example:
|
||||
Draw[]> testgrid
|
||||
~~~~~
|
||||
|
||||
For running only a subset of test cases, give masks for group, grid, and test case names to be executed.
|
||||
Each argument is a list of comma- or space-separated file masks; by default "*" is assumed.
|
||||
To run only a subset of test cases, give masks for group, grid, and test case names to be executed.
|
||||
Each argument is a list of file masks separated with commas or spaces; by default "*" is assumed.
|
||||
|
||||
Example:
|
||||
|
||||
@@ -79,7 +78,6 @@ Example:
|
||||
Draw[]> testgrid bugs caf,moddata*,xde
|
||||
~~~~~
|
||||
|
||||
|
||||
As the tests progress, the result of each test case is reported.
|
||||
At the end of the log a summary of test cases is output,
|
||||
including the list of detected regressions and improvements, if any.
|
||||
@@ -102,18 +100,16 @@ Example:
|
||||
|
||||
The tests are considered as non-regressive if only OK, BAD (i.e. known problem), and SKIPPED (i.e. not executed, typically because of lack of a data file) statuses are reported. See <a href="#testmanual_3_5">Interpretation of test results</a> for details.
|
||||
|
||||
The results and detailed logs of the tests are saved by default to a subdirectory of the current folder, whose name is generated automatically using the current date and time, prefixed by word <i>"results_"</i> and Git branch name (if Git is available and current sources are managed by Git).
|
||||
If necessary, a non-default output directory can be specified using option <i> –outdir</i> followed by a path to the directory. This directory should be new or empty; use option –overwrite to allow writing results in existing non-empty directory.
|
||||
The results and detailed logs of the tests are saved by default to a new subdirectory of the subdirectory *results* in the current folder, whose name is generated automatically using the current date and time, prefixed by Git branch name (if Git is available and current sources are managed by Git).
|
||||
If necessary, a non-default output directory can be specified using option <i> –outdir</i> followed by a path to the directory. This directory should be new or empty; use option <i>–overwrite</i> to allow writing results in the existing non-empty directory.
|
||||
|
||||
Example:
|
||||
~~~~~
|
||||
Draw[]> testgrid -outdir d:/occt/last_results -overwrite
|
||||
~~~~~
|
||||
In the output directory, a cumulative HTML report summary.html provides links to reports on each test case. An additional report in JUnit-style XML format can be output for use in Jenkins or other continuous integration system.
|
||||
In the output directory, a cumulative HTML report <i>summary.html</i> provides links to reports on each test case. An additional report in JUnit-style XML format can be output for use in Jenkins or other continuous integration system.
|
||||
|
||||
Type <i>help testgrid</i> in DRAW prompt to get help on options supported by *testgrid* command.
|
||||
|
||||
For example:
|
||||
Type <i>help testgrid</i> in DRAW prompt to get help on options supported by *testgrid* command:
|
||||
|
||||
~~~~~
|
||||
Draw[3]> help testgrid
|
||||
@@ -125,6 +121,7 @@ testgrid: Run all tests, or specified group, or one grid
|
||||
-outdir dirname: set log directory (should be empty or non-existing)
|
||||
-overwrite: force writing logs in existing non-empty directory
|
||||
-xml filename: write XML report for Jenkins (in JUnit-like format)
|
||||
-beep: play sound signal at the end of the tests
|
||||
Groups, grids, and test cases to be executed can be specified by list of file
|
||||
masks, separated by spaces or comma; default is all (*).
|
||||
~~~~~
|
||||
@@ -146,14 +143,36 @@ Note that normally an intermediate output of the script is not shown. The detail
|
||||
To see intermediate commands and their output during the test execution, add one more argument
|
||||
<i>"echo"</i> at the end of the command line. Note that with this option the log is not collected and summary is not produced.
|
||||
|
||||
Type <i>help test</i> in DRAW prompt to get help on options supported by *test* command:
|
||||
|
||||
~~~~~
|
||||
Draw[3]> help test
|
||||
test: Run specified test case
|
||||
Use: test group grid casename [options...]
|
||||
Allowed options are:
|
||||
-echo: all commands and results are echoed immediately,
|
||||
but log is not saved and summary is not produced
|
||||
It is also possible to use "1" instead of "-echo"
|
||||
If echo is OFF, log is stored in memory and only summary
|
||||
is output (the log can be obtained with command "dlog get")
|
||||
-outfile filename: set log file (should be non-existing),
|
||||
it is possible to save log file in text file or
|
||||
in html file(with snapshot), for that "filename"
|
||||
should have ".html" extension
|
||||
-overwrite: force writing log in existing file
|
||||
-beep: play sound signal at the end of the test
|
||||
-errors: show all lines from the log report that are recognized as errors
|
||||
This key will be ignored if the "-echo" key is already set.
|
||||
~~~~~
|
||||
|
||||
@subsubsection testmanual_1_3_4 Creating a New Test
|
||||
|
||||
The detailed rules of creation of new tests are given in <a href="#testmanual_3">section 3</a>. The following short description covers the most typical situations:
|
||||
|
||||
Use prefix "bug" followed by Mantis issue ID and, if necessary, additional suffixes, for naming the test script and DRAW commands specific for this test case.
|
||||
Use prefix <i>bug</i> followed by Mantis issue ID and, if necessary, additional suffixes, for naming the test script and DRAW commands specific for this test case.
|
||||
|
||||
1. If the test requires C++ code, add it as new DRAW command(s) in one of files in *QABugs* package. Note that this package defines macros *QVERIFY* and *QCOMPARE*, thus code created for QTest or GoogleTest frameworks can be used with minimal modifications.
|
||||
2. Add script(s) for the test case in grid (subfolder) corresponding to the relevant OCCT module of the group bugs <i>($CASROOT/tests/bugs)</i>. See <a href="#testmanual_5_2">the correspondence map</a>.
|
||||
2. Add script(s) for the test case in the subfolder corresponding to the relevant OCCT module of the group bugs <i>($CASROOT/tests/bugs)</i>. See <a href="#testmanual_5_2">the correspondence map</a>.
|
||||
3. In the test script:
|
||||
* Load all necessary DRAW modules by command *pload*.
|
||||
* Use command *locate_data_file* to get a path to data files used by test script. (Make sure to have this command not inside catch statement if it is used.)
|
||||
@@ -166,6 +185,7 @@ Use prefix "bug" followed by Mantis issue ID and, if necessary, additional suffi
|
||||
Example:
|
||||
|
||||
* Added files:
|
||||
|
||||
~~~~~
|
||||
git status –short
|
||||
A tests/bugs/heal/data/OCC210a.brep
|
||||
@@ -192,7 +212,7 @@ checkshape result
|
||||
Standard OCCT tests are located in subdirectory tests of the OCCT root folder ($CASROOT).
|
||||
|
||||
Additional test folders can be added to the test system by defining environment variable *CSF_TestScriptsPath*. This should be list of paths separated by semicolons (*;*) on Windows
|
||||
or colons (*:*) on Linux or Mac. Upon DRAW launch, path to tests sub-folder of OCCT is added at the end of this variable automatically.
|
||||
or colons (*:*) on Linux or Mac. Upon DRAW launch, path to tests subfolder of OCCT is added at the end of this variable automatically.
|
||||
|
||||
Each test folder is expected to contain:
|
||||
* Optional file parse.rules defining patterns for interpretation of test results, common for all groups in this folder
|
||||
@@ -284,7 +304,7 @@ The test group may contain *parse.rules* file. This file defines patterns used f
|
||||
|
||||
Each line in the file should specify a status (single word), followed by a regular expression delimited by slashes (*/*) that will be matched against lines in the test output log to check if it corresponds to this status.
|
||||
|
||||
The regular expressions support a subset of the Perl *re* syntax. See also <a href=http://perldoc.perl.org/perlre.html>Perl regular expressions</a>.
|
||||
The regular expressions support a subset of the Perl *re* syntax. See also <a href="http://perldoc.perl.org/perlre.html">Perl regular expressions</a>.
|
||||
|
||||
The rest of the line can contain a comment message, which will be added to the test report when this status is detected.
|
||||
|
||||
@@ -353,7 +373,7 @@ Usually it executes a specific sequence of commands common for all tests in the
|
||||
Example:
|
||||
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~{.tcl}
|
||||
vdump $logdir/${casename}.gif ;# makes a snap-shot of AIS viewer
|
||||
vdump $imagedir/${casename}.png ;# makes a snap-shot of AIS viewer
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
@subsubsection testmanual_2_3_4 File "cases.list"
|
||||
@@ -435,13 +455,15 @@ If the new test corresponds to a functionality already covered by the existing s
|
||||
|
||||
@subsection testmanual_3_2 Adding Data Files Required for a Test
|
||||
|
||||
It is advisable to make self-contained test scripts whenever possible, so as they could be used in environments where data files are not available. For that simple geometric objects and shapes can be created using DRAW commands in the test script itself.
|
||||
It is advisable to make self-contained test scripts whenever possible, so as they could be used in the environments where data files are not available. For that simple geometric objects and shapes can be created using DRAW commands in the test script itself.
|
||||
|
||||
If the test requires a data file, it should be put to subdirectory *data* of the test grid. It is recommended to prefix the data file with the corresponding issue id prefixed by *bug*, e.g. *bug12345_face1.brep*, to avoid possible conflicts with names of existing data files.
|
||||
If the test requires a data file, it should be put to the directory listed in environment variable *CSF_TestDataPath*.
|
||||
Alternatively, it can be put to subdirectory *data* of the test grid.
|
||||
It is recommended to prefix the data file with the corresponding issue id prefixed by *bug*, e.g. *bug12345_face1.brep*, to avoid possible conflicts with names of existing data files.
|
||||
|
||||
Note that when the test is integrated to the master branch, OCC team will move the data file to data files repository, so as to keep OCCT sources repository clean from data files.
|
||||
Note that when the test is integrated to the master branch, OCC team will move the data file to the data files repository, to keep OCCT sources repository clean from data files.
|
||||
|
||||
When preparing a test script, try to minimize the size of involved data model. For instance, if the problem detected on a big shape can be reproduced on a single face extracted from that shape, use only that face in the test.
|
||||
When you prepare a test script, try to minimize the size of involved data model. For instance, if the problem detected on a big shape can be reproduced on a single face extracted from that shape, use only that face in the test.
|
||||
|
||||
|
||||
@subsection testmanual_3_3 Adding new DRAW commands
|
||||
@@ -452,7 +474,7 @@ If the test cannot be implemented using available DRAW commands, consider the fo
|
||||
* Otherwise the new command implementing the actions needed for this particular test should be added in *QABugs* package. The command name should be formed by the Mantis issue ID prefixed by *bug*, e.g. *bug12345*.
|
||||
|
||||
Note that a DRAW command is expected to return 0 in case of a normal completion, and 1 (Tcl exception) if it is incorrectly used (e.g. a wrong number of input arguments). Thus if the new command needs to report a test error, this should be done by outputting an appropriate error message rather than by returning a non-zero value.
|
||||
|
||||
File names must be encoded in the script rather than in the DRAW command and passed to the DRAW command as an argument.
|
||||
|
||||
@subsection testmanual_3_4 Script Implementation
|
||||
|
||||
@@ -498,15 +520,26 @@ Example:
|
||||
stepread [locate_data_file CAROSKI_COUPELLE.step] a *
|
||||
~~~~~
|
||||
|
||||
When the test needs to produce some snapshots or other artefacts, use Tcl variable *logdir* as the location where such files should be put. Command *testgrid* sets this variable to the subdirectory of the results folder corresponding to the grid. Command *test* sets it to <i>$CASROOT/tmp</i> unless it is already defined. Use Tcl variable *casename* to prefix all files produced by the test. This variable is set to the name of the test case.
|
||||
When the test needs to produce some snapshots or other artefacts, use Tcl variable *imagedir* as the location where such files should be put.
|
||||
* Command *testgrid* sets this variable to the subdirectory of the results folder corresponding to the grid.
|
||||
* Command *test* by default creates a dedicated temporary directory in the system temporary folder (normally the one specified by environment variable *TempDir*, *TEMP*, or *TMP*) for each execution, and sets *imagedir* to that location.
|
||||
|
||||
However if variable *imagedir* is defined on the top level of Tcl interpretor, command *test* will use it instead of creating a new directory.
|
||||
|
||||
Use Tcl variable *casename* to prefix all files produced by the test.
|
||||
This variable is set to the name of the test case.
|
||||
|
||||
The test system can recognize an image file (snapshot) and include it in HTML log and differences if its name starts with the name of the test case (use variable *casename*), optionally followed by underscore or dash and arbitrary suffix.
|
||||
|
||||
The image format (defined by extension) should be *png*.
|
||||
|
||||
Example:
|
||||
~~~~~
|
||||
xwd $logdir/${casename}.png
|
||||
xwd $imagedir/${casename}.png
|
||||
vdisplay result; vfit
|
||||
vdump $logdir/${casename}-axo.png
|
||||
vdump $imagedir/${casename}-axo.png
|
||||
vfront; vfit
|
||||
vdump $logdir/${casename}-front.png
|
||||
vdump $imagedir/${casename}-front.png
|
||||
~~~~~
|
||||
|
||||
would produce:
|
||||
@@ -518,11 +551,15 @@ A1-front.png
|
||||
|
||||
Note that OCCT must be built with FreeImage support to be able to produce usable images.
|
||||
|
||||
Other Tcl variables defined during the test execution are:
|
||||
- *groupname*: name of the test group;
|
||||
- *gridname*: name of the test grid;
|
||||
- *dirname*: path to the root directory of the current set of test scripts.
|
||||
|
||||
In order to ensure that the test works as expected in different environments, observe the following additional rules:
|
||||
* Avoid using external commands such as *grep, rm,* etc., as these commands can be absent on another system (e.g. on Windows); use facilities provided by Tcl instead.
|
||||
* Do not put call to *locate_data_file* in catch statement – this can prevent correct interpretation of the missing data file by the test system.
|
||||
|
||||
|
||||
@subsection testmanual_3_5 Interpretation of test results
|
||||
|
||||
The result of the test is evaluated by checking its output against patterns defined in the files *parse.rules* of the grid and group.
|
||||
@@ -541,7 +578,7 @@ The new test created for an unsolved problem should return BAD. The new test cre
|
||||
|
||||
@subsection testmanual_3_6 Marking BAD cases
|
||||
|
||||
If the test produces an invalid result at a certain moment then corresponding bug should be created in the OCCT issue tracker located at http://tracker.dev.opencascade.org, and the problem should be marked as TODO in the test script.
|
||||
If the test produces an invalid result at a certain moment then the corresponding bug should be created in the OCCT issue tracker located at http://tracker.dev.opencascade.org, and the problem should be marked as TODO in the test script.
|
||||
|
||||
The following statement should be added to such a test script:
|
||||
~~~~~
|
||||
@@ -550,7 +587,7 @@ puts "TODO BugNumber ListOfPlatforms: RegularExpression"
|
||||
|
||||
Here:
|
||||
* *BugNumber* is the bug ID in the tracker. For example: #12345.
|
||||
* *ListOfPlatforms* is a list of platforms at which the bug is reproduced (e.g. Mandriva2008, Windows or All). Note that the platform name is custom for the OCCT test system; it corresponds to the value of environment variable *os_type* defined in DRAW.
|
||||
* *ListOfPlatforms* is a list of platforms, at which the bug is reproduced (e.g. Mandriva2008, Windows or All). Note that the platform name is custom for the OCCT test system; it corresponds to the value of environment variable *os_type* defined in DRAW.
|
||||
|
||||
Example:
|
||||
~~~~~
|
||||
@@ -558,7 +595,7 @@ Draw[2]> puts $env(os_type)
|
||||
windows
|
||||
~~~~~
|
||||
|
||||
* RegularExpression is a regular expression which should be matched against the line indicating the problem in the script output.
|
||||
* RegularExpression is a regular expression, which should be matched against the line indicating the problem in the script output.
|
||||
|
||||
Example:
|
||||
~~~~~
|
||||
@@ -585,7 +622,7 @@ puts "TODO OCC22817 All: TEST INCOMPLETE"
|
||||
|
||||
@subsection testmanual_4_1 Running Tests on Older Versions of OCCT
|
||||
|
||||
Sometimes it might be necessary to run tests on previous versions of OCCT (<= 6.5.4) that do not include this test system. This can be done by adding DRAW configuration file *DrawAppliInit* in the directory which is current by the moment of DRAW start-up, to load test commands and to define necessary environment.
|
||||
Sometimes it might be necessary to run tests on the previous versions of OCCT (<= 6.5.4) that do not include this test system. This can be done by adding DRAW configuration file *DrawAppliInit* in the directory, which is current by the moment of DRAW start-up, to load test commands and to define the necessary environment.
|
||||
|
||||
Note: in OCCT 6.5.3, file *DrawAppliInit* already exists in <i>$CASROOT/src/DrawResources</i>, new commands should be added to this file instead of a new one in the current directory.
|
||||
|
||||
@@ -599,7 +636,7 @@ set env(CSF_TestDataPath) $env(CASROOT)/data;d:/test-data
|
||||
return
|
||||
~~~~~
|
||||
|
||||
Note that on older versions of OCCT the tests are run in compatibility mode and not all output of the test command can be captured; this can lead to absence of some error messages (can be reported as either a failure or an improvement).
|
||||
Note that on older versions of OCCT the tests are run in compatibility mode and thus not all output of the test command can be captured; this can lead to absence of some error messages (can be reported as either a failure or an improvement).
|
||||
|
||||
@subsection testmanual_4_2 Adding custom tests
|
||||
|
||||
@@ -953,7 +990,7 @@ This group allows testing extended data exchange packages.
|
||||
| Visualization | TKService, TKV2d, TKV3d, TKOpenGl, TKMeshVS, TKNIS, TKVoxel | vis |
|
||||
|
||||
|
||||
@subsection testmanual_5_2 Recommended approaches to checking test results
|
||||
@subsection testmanual_5_3 Recommended approaches to checking test results
|
||||
|
||||
@subsubsection testmanual_5_3_1 Shape validity
|
||||
|
||||
@@ -964,6 +1001,36 @@ Example
|
||||
checkshape result
|
||||
~~~~~
|
||||
|
||||
To check the number of faults in the shape command *checkfaults* can be used.
|
||||
|
||||
Use: checkfaults shape source_shape [ref_value=0]
|
||||
|
||||
The default syntax of *checkfaults* command:
|
||||
~~~~~
|
||||
checkfaults results a_1
|
||||
~~~~~
|
||||
|
||||
The command will check the number of faults in the source shape (*a_1*) and compare it
|
||||
with number of faults in the resulting shape (*result*). If shape *result* contains
|
||||
more faults, you will get an error:
|
||||
~~~~~
|
||||
checkfaults results a_1
|
||||
Error : Number of faults is 5
|
||||
~~~~~
|
||||
It is possible to set the reference value for comparison (reference value is 4):
|
||||
|
||||
~~~~~
|
||||
checkfaults results a_1 4
|
||||
~~~~~
|
||||
|
||||
If number of faults in the resulting shape is unstable, reference value should be set to "-1".
|
||||
As a result command *checkfaults* will return the following error:
|
||||
|
||||
~~~~~
|
||||
checkfaults results a_1 -1
|
||||
Error : Number of faults is UNSTABLE
|
||||
~~~~~
|
||||
|
||||
@subsubsection testmanual_5_3_2 Shape tolerance
|
||||
The maximal tolerance of sub-shapes of each kind of the resulting shape can be extracted from output of tolerance command as follows:
|
||||
|
||||
@@ -974,6 +1041,33 @@ regexp { *EDGE +: +MAX=([-0-9.+eE]+)} $tolerance dummy max_edgee
|
||||
regexp { *VERTEX +: +MAX=([-0-9.+eE]+)} $tolerance dummy max_vertex
|
||||
~~~~~
|
||||
|
||||
It is possible to use command *checkmaxtol* to check maximal tolerance of shape and compare it with reference value.
|
||||
|
||||
Use: checkmaxtol shape ref_value [source_shapes={}] [options...]
|
||||
|
||||
Allowed options are:
|
||||
* -min_tol: minimum tolerance for comparison
|
||||
* -multi_tol: tolerance multiplier
|
||||
|
||||
Argument "source_shapes" is a list of shapes to compare with.
|
||||
It can be empty to skip comparison of tolerance with these shapes.
|
||||
|
||||
The default syntax of *checkmaxtol* command for comparison with the reference value:
|
||||
~~~~~
|
||||
checkmaxtol result 0.00001
|
||||
~~~~~
|
||||
|
||||
There is an opportunity to compare max tolerance of resulting shape with max tolerance of source shape.
|
||||
In the following example command *checkmaxtol* gets max tolerance among objects *a_1* and *a_2*.
|
||||
Then it chooses the maximum value between founded tolerance and value -min_tol (0.000001)
|
||||
and multiply it on the coefficient -multi_tol (i.e. 2):
|
||||
|
||||
~~~~~
|
||||
checkmaxtol result 0.00001 {a_1 a_2} -min_tol 0.000001 -multi_tol 2
|
||||
~~~~~
|
||||
|
||||
If the value of maximum tolerance more than founded tolerance for comparison, the command will return an error.
|
||||
|
||||
@subsubsection testmanual_5_3_3 Shape volume, area, or length
|
||||
|
||||
Use command *vprops, sprops,* or *lprops* to correspondingly measure volume, area, or length of the shape produced by the test. The value can be extracted from the result of the command by *regexp*.
|
||||
@@ -1010,7 +1104,7 @@ for {set i 1} {$i < 100} {incr i} {
|
||||
|
||||
@subsubsection testmanual_5_3_5 Visualization
|
||||
|
||||
Take a snapshot of the viewer, give it the name of the test case, and save in the directory indicated by Tcl variable *imagedir*. Note that this variable directs to the *log* directory if command *testgrid* is active, or to *tmp* subdirectory of the current folder if the test is run interactively.
|
||||
Take a snapshot of the viewer, give it the name of the test case, and save in the directory indicated by Tcl variable *imagedir*.
|
||||
|
||||
~~~~~
|
||||
vinit
|
||||
@@ -1023,3 +1117,82 @@ vdump $imagedir/${casename}_shading.png
|
||||
~~~~~
|
||||
|
||||
This image will be included in the HTML log produced by *testgrid* command and will be checked for non-regression through comparison of images by command *testdiff*.
|
||||
|
||||
@subsubsection testmanual_5_3_6 Number of free edges
|
||||
|
||||
To check the number of free edges run the command *checkfreebounds*.
|
||||
|
||||
It compares number of free edges with reference value.
|
||||
|
||||
Use: checkfreebounds shape ref_value [options...]
|
||||
|
||||
Allowed options are:
|
||||
* -tol N: used tolerance (default -0.01)
|
||||
* -type N: used type, possible values are "closed" and "opened" (default "closed")
|
||||
|
||||
~~~~~
|
||||
checkfreebounds result 13
|
||||
~~~~~
|
||||
|
||||
Option -tol N is used to set tolerance for command *freebounds*, which is used within command *checkfreebounds*.
|
||||
|
||||
Option -type N is used to select the type of counted free edges - closed or opened.
|
||||
|
||||
If the number of free edges in the resulting shape is unstable, reference value should be set to "-1".
|
||||
As a result command *checkfreebounds* will return the following error:
|
||||
|
||||
~~~~~
|
||||
checkfreebounds result -1
|
||||
Error : Number of free edges is UNSTABLE
|
||||
~~~~~
|
||||
|
||||
@subsubsection testmanual_5_3_7 Compare numbers
|
||||
|
||||
Procedure to check equality of two reals with some tolerance (relative and absolute)
|
||||
|
||||
Use: checkreal name value expected tol_abs tol_rel
|
||||
|
||||
~~~~~
|
||||
checkreal "Some important value" $value 5 0.0001 0.01
|
||||
~~~~~
|
||||
|
||||
@subsubsection testmanual_5_3_8 Check number of sub-shapes
|
||||
|
||||
Compare number of sub-shapes in "shape" with given reference data
|
||||
|
||||
Use: checknbshapes shape [options...]
|
||||
Allowed options are:
|
||||
* -vertex N
|
||||
* -edge N
|
||||
* -wire N
|
||||
* -face N
|
||||
* -shell N
|
||||
* -solid N
|
||||
* -compsolid N
|
||||
* -compound N
|
||||
* -shape N
|
||||
* -t: compare the number of sub-shapes in "shape" counting
|
||||
the same sub-shapes with different location as different sub-shapes.
|
||||
* -m msg: print "msg" in case of error
|
||||
|
||||
~~~~~
|
||||
checknbshapes result -vertex 8 -edge 4
|
||||
~~~~~
|
||||
|
||||
@subsubsection testmanual_5_3_9 Check pixel color
|
||||
|
||||
To check pixel color command *checkcolor* can be used.
|
||||
|
||||
Use: checkcolor x y red green blue
|
||||
|
||||
x y - pixel coordinates
|
||||
|
||||
red green blue - expected pixel color (values from 0 to 1)
|
||||
|
||||
This procedure checks color with tolerance (5x5 area)
|
||||
|
||||
Next example will compare color of point with coordinates x=100 y=100 with RGB color R=1 G=0 B=0.
|
||||
If colors are not equal, procedure will check the nearest ones points (5x5 area)
|
||||
~~~~~
|
||||
checkcolor 100 100 1 0 0
|
||||
~~~~~
|
||||
|
@@ -480,8 +480,11 @@ This automatically takes you to the root directory of the workbench
|
||||
|
||||
@subsubsection occt_wok_3_3_8 Using Existing Resources
|
||||
Before creating new data types, you should look for existing components that you can reuse. In particular, you should look through the existing resources of your Open CASCADE Technology platform to see if any of the required components already exist, or if any existing generic components can be suitably implemented. This search can be conducted using the online documentation. You should note the packages and classes, which you can reuse.
|
||||
|
||||
@subsection occt_wok_3_4 Creating Software Components
|
||||
|
||||
@subsubsection occt_wok_3_4_1 Creating a Package
|
||||
|
||||
To develop new software components, you usually need to create one or more packages. You do this, by using the following command:
|
||||
~~~~~
|
||||
> ucreate –p <MyPackage>
|
||||
@@ -613,6 +616,7 @@ The umake steps for development units of package type are explained below.
|
||||
* *obj.lib* Generates the shared library for the development unit.
|
||||
|
||||
@subsubsection occt_wok_3_4_2 Creating a Nocdlpack
|
||||
|
||||
If your executable requires the use of a nocdlpack, create a development unit of nocdlpack type and move to its structure using the commands below:
|
||||
~~~~~
|
||||
> ucreate -n <MyNoCDLPack>
|
||||
@@ -656,7 +660,8 @@ The *umake* steps for development units of *nocdlpack* type are explained below.
|
||||
+ Implementation dependencies in terms of the unit suppliers. (Unit.ImplDep)
|
||||
* *obj.lib* Generates the shared library for the unit.
|
||||
|
||||
@subsubsection occt_wok_3_3_3 Creating a Schema
|
||||
@subsubsection occt_wok_3_4_3 Creating a Schema
|
||||
|
||||
If the application, which you intend to build, stores data in a file, you need to define a schema for the persistent data types that are known.
|
||||
|
||||
You create a schema and go to its root directory using the commands:
|
||||
@@ -735,7 +740,9 @@ The umake steps for development units of schema type are explained below.
|
||||
* *obj.idep* Generates dependency information for the schema.
|
||||
|
||||
@subsection occt_wok_3_5 Building an Executable
|
||||
|
||||
@subsubsection occt_wok_3_5_1 Creating an Executable
|
||||
|
||||
To make an executable from one or more of the packages, which you have created, write a .cdl file to specify the packages to use.
|
||||
|
||||
#### Writing an Executable
|
||||
@@ -805,7 +812,9 @@ The umake steps for development units of executable type are explained below.
|
||||
* *exec.link* Links each part of the executable.
|
||||
|
||||
@subsection occt_wok_3_6 Test Environments
|
||||
@subsubsection occt_wok_3_3_1 Testing an Executable
|
||||
|
||||
@subsubsection occt_wok_3_6_1 Testing an Executable
|
||||
|
||||
To test an executable, you create an executable development unit and move to its structure.
|
||||
|
||||
When you write the .cdl file for your test executable, specify the packages to test, for example:
|
||||
|
Before Width: | Height: | Size: 6.6 KiB After Width: | Height: | Size: 4.8 KiB |
Before Width: | Height: | Size: 9.5 KiB After Width: | Height: | Size: 10 KiB |
@@ -3,6 +3,11 @@
|
||||
|
||||
@tableofcontents
|
||||
|
||||
@htmlonly<center>@endhtmlonly
|
||||
@image html /resources/occt_logo.png
|
||||
@image latex /resources/occt_logo.png
|
||||
@htmlonly</center>@endhtmlonly
|
||||
|
||||
@section OCCT_OVW_SECTION_1 Welcome
|
||||
|
||||
Welcome to Open CASCADE Technology (OCCT), a software development platform
|
||||
@@ -11,16 +16,10 @@ visualization. Most of OCCT functionality is available in the form of C++
|
||||
libraries. OCCT can be best applied in development of software dealing with 3D
|
||||
modeling (CAD), manufacturing / measuring (CAM) or numerical simulation (CAE).
|
||||
|
||||
@htmlonly<center>@endhtmlonly
|
||||
http://www.opencascade.org
|
||||
@image html /resources/occt_logo.png
|
||||
@image latex /resources/occt_logo.png
|
||||
@htmlonly</center>@endhtmlonly
|
||||
|
||||
@section OCCT_OVW_SECTION_2 Copyrights
|
||||
|
||||
Open CASCADE Technology and all materials, including this documentation, is
|
||||
Copyright (c) 1999-2013 by OPEN CASCADE S.A.S. All rights reserved.
|
||||
Copyright (c) 1999-2015 by OPEN CASCADE S.A.S. All rights reserved.
|
||||
|
||||
@htmlonly<center>@endhtmlonly
|
||||
http://www.opencascade.com
|
||||
@@ -168,44 +167,19 @@ See @ref occt_dev_guides__documentation "OCCT Documentation Guide" for details o
|
||||
**Generation of HTML documentation**
|
||||
|
||||
To generate HTML documentation from sources contained in *dox* subdirectory,
|
||||
you need to have Tcl and Doxygen 1.8.4 (or above) installed on your system.
|
||||
you need to have Tcl and Doxygen 1.8.5 (or above) installed on your system.
|
||||
|
||||
In Tcl prompt, cd to OCCT root folder and run
|
||||
Use script **gendoc** (batch file on Windows, shell script on Linux / Mac OSX) to generate documentation.
|
||||
|
||||
tclsh> source dox/start.tcl
|
||||
To generate Overview documentation:
|
||||
|
||||
On Windows you can also run batch script **gendoc.bat**.
|
||||
cmd> gendoc -overview
|
||||
|
||||
To generate Reference manual:
|
||||
|
||||
**Generation of reference documentation**
|
||||
cmd> gendoc -refman
|
||||
|
||||
Reference documentation can be generated with help of WOK tool that
|
||||
is available for download from www.opencascade.org and dev.opencascade.org sites.
|
||||
|
||||
Prerequisites:
|
||||
|
||||
* Doxygen version 1.8.4 or higher
|
||||
* Graphviz version 2.28.0 or higher
|
||||
|
||||
Run WOK (cd \<WOK_INSTALL_DIR\>/site folder):
|
||||
|
||||
* Using WOK TCL shell:
|
||||
> wok_tclsh.sh
|
||||
|
||||
* Using Emacs editor:
|
||||
> wok_emacs.sh
|
||||
|
||||
In the WOK prompt, step into your workbench:
|
||||
|
||||
> wokcd <your workbench>
|
||||
|
||||
In your workbench, use **wgendoc** command with –h argument to get information about arguments of **wgendoc** command:
|
||||
|
||||
> wgendoc -h
|
||||
|
||||
then run **wgendoc** command with required arguments, for instance:
|
||||
|
||||
> wgendoc -output=d:/occt/doc {-m=Draw Visualization}
|
||||
Run this command without arguments to get help on supported options.
|
||||
|
||||
@section OCCT_OVW_SECTION_5 Requirements
|
||||
|
||||
@@ -224,7 +198,7 @@ for which OCCT is certified to work.
|
||||
| Minimum memory | 512 MB, 1 GB recommended |
|
||||
| Free disk space (complete installation) | 600 MB approx. |
|
||||
| Video card | See \ref overview_req_graphics |
|
||||
| Graphic library | OpenGL 1.1+ (OpenGL 2.1+ is recommended)|
|
||||
| Graphic library | OpenGL 3.3+, OpenGL ES 2.0+ |
|
||||
| C++ | GNU gcc 4.0. - 4.7.3. |
|
||||
| TCL (for testing tools) | Tcl/Tk 8.5 or 8.6 http://www.tcl.tk/software/tcltk/download.html |
|
||||
| Qt (for demonstration tools) | Qt 4.8.6 http://qt-project.org/downloads |
|
||||
@@ -243,7 +217,7 @@ for which OCCT is certified to work.
|
||||
| Minimum memory | 512 MB, 1 GB recommended |
|
||||
| Free disk space (complete installation) | 600 MB approx. |
|
||||
| Video card | See \ref overview_req_graphics |
|
||||
| Graphic library | OpenGL 1.1+ (OpenGL 2.1+ is recommended)|
|
||||
| Graphic library | OpenGL 3.3+, OpenGL ES 2.0+ |
|
||||
| C++ | Microsoft Visual Studio: 2005 SP1, 2008 SP1, 2010 SP1 \*, 2012 Update 3, 2013 <br>Intel C++ Composer XE 2013 SP1 |
|
||||
| TCL (for testing tools) | Tcl/Tk 8.5 or 8.6 http://www.tcl.tk/software/tcltk/download.html |
|
||||
| Qt (for demonstration tools) | Qt 4.8.6 http://qt-project.org/downloads |
|
||||
@@ -253,7 +227,7 @@ for which OCCT is certified to work.
|
||||
| Intel TBB (optional, for multithreaded algorithms) | TBB 3.x or 4.x http://www.threadingbuildingblocks.org/ |
|
||||
| VTK (for VTK Integration Services | VTK 6.1.0 http://www.vtk.org/VTK/resources/software.html |
|
||||
|
||||
* VC++ 10 32-bit is used for certification of contributions and for building
|
||||
* VC++ 10 64-bit is used for certification of contributions and for building
|
||||
binary package of official release of OCCT on Windows.
|
||||
|
||||
@subsection OCCT_OVW_SECTION_5_3 MAC OS X
|
||||
@@ -331,14 +305,14 @@ OCCT installation with reference documentation requires 1,4 Gb on disk.
|
||||
* Launch the installer and follow the instructions.
|
||||
|
||||
The includes and binaries of third-party libraries necessary for building and launching
|
||||
OCCT are included into binary distribution (built with Visual C++ 2008).
|
||||
OCCT are included into binary distribution (built with Visual C++ 2010).
|
||||
When the installation is complete, you will find the directories for 3rd party products
|
||||
(some might be absent in case of custom installation) and the main **OCCT** directory:
|
||||
|
||||
@image html /overview/images/overview_3rdparty.png
|
||||
@image latex /overview/images/overview_3rdparty.png
|
||||
|
||||
The contents of the OCCT-6.8.0 directory (called further "OCCT root", or $CASROOT) are as follows:
|
||||
The contents of the OCCT-6.9.0 directory (called further "OCCT root", or $CASROOT) are as follows:
|
||||
|
||||
@image html /overview/images/overview_installation.png "The directory tree"
|
||||
@image latex /overview/images/overview_installation.png "The directory tree"
|
||||
@@ -354,7 +328,7 @@ The contents of the OCCT-6.8.0 directory (called further "OCCT root", or $CASROO
|
||||
* **samples** This folder contains sample applications.
|
||||
* **src** This folder contains OCCT source files. They are organized in folders, one per development unit;
|
||||
* **tests** This folder contains scripts for OCCT testing.
|
||||
* **win32/vc10** This folder contains executable and library files built in optimize mode for Windows platform by Visual C++ 2010;
|
||||
* **win64/vc10** This folder contains executable and library files built in optimize mode for Windows platform by Visual C++ 2010;
|
||||
|
||||
@section OCCT_OVW_SECTION_4_2 Environment Variables
|
||||
|
||||
|
BIN
dox/technical_overview/images/0001.png
Normal file
After Width: | Height: | Size: 103 KiB |
BIN
dox/technical_overview/images/0002.png
Normal file
After Width: | Height: | Size: 57 KiB |
BIN
dox/technical_overview/images/0003.png
Normal file
After Width: | Height: | Size: 260 KiB |
BIN
dox/technical_overview/images/0004.png
Normal file
After Width: | Height: | Size: 84 KiB |
BIN
dox/technical_overview/images/0008.png
Normal file
After Width: | Height: | Size: 80 KiB |
BIN
dox/technical_overview/images/0012.png
Normal file
After Width: | Height: | Size: 97 KiB |
BIN
dox/technical_overview/images/0013.png
Normal file
After Width: | Height: | Size: 45 KiB |
BIN
dox/technical_overview/images/0014.png
Normal file
After Width: | Height: | Size: 118 KiB |
Before Width: | Height: | Size: 6.7 KiB |
Before Width: | Height: | Size: 11 KiB |
Before Width: | Height: | Size: 4.6 KiB |
Before Width: | Height: | Size: 7.1 KiB |
Before Width: | Height: | Size: 9.5 KiB |
Before Width: | Height: | Size: 12 KiB |
Before Width: | Height: | Size: 5.7 KiB |
Before Width: | Height: | Size: 17 KiB After Width: | Height: | Size: 17 KiB |
Before Width: | Height: | Size: 89 KiB |
Before Width: | Height: | Size: 14 KiB |
@@ -717,7 +717,7 @@ Congratulations! Your bottle is complete. Here is the result snapshot of the Tut
|
||||
@image latex /tutorial/images/tutorial_image019.png
|
||||
|
||||
We hope that this tutorial has provided you with a feel for the industrial strength power of Open CASCADE Technology.
|
||||
If you want to know more and develop major projects using Open CASCADE Technology, we invite you to study our training, support, and consulting services on our site at http://www.opencascade.org/support. Our professional services can maximize the power of your Open CASCADE Technology applications.
|
||||
If you want to know more and develop major projects using Open CASCADE Technology, we invite you to study our training, support, and consulting services on our site at http://www.opencascade.com/content/technology-support. Our professional services can maximize the power of your Open CASCADE Technology applications.
|
||||
|
||||
|
||||
@section sec6 Appendix
|
||||
|
Before Width: | Height: | Size: 3.8 KiB After Width: | Height: | Size: 59 KiB |
Before Width: | Height: | Size: 4.0 KiB After Width: | Height: | Size: 60 KiB |
Before Width: | Height: | Size: 2.2 KiB After Width: | Height: | Size: 32 KiB |
Before Width: | Height: | Size: 2.4 KiB After Width: | Height: | Size: 36 KiB |
Before Width: | Height: | Size: 4.6 KiB After Width: | Height: | Size: 68 KiB |
Before Width: | Height: | Size: 4.9 KiB After Width: | Height: | Size: 69 KiB |
Before Width: | Height: | Size: 2.7 KiB After Width: | Height: | Size: 35 KiB |
Before Width: | Height: | Size: 2.6 KiB After Width: | Height: | Size: 38 KiB |
BIN
dox/user_guides/boolean_operations/images/boolean_image080.png
Normal file
After Width: | Height: | Size: 2.2 KiB |
BIN
dox/user_guides/boolean_operations/images/boolean_image081.png
Normal file
After Width: | Height: | Size: 3.5 KiB |
BIN
dox/user_guides/boolean_operations/images/boolean_image082.png
Normal file
After Width: | Height: | Size: 1.6 KiB |
BIN
dox/user_guides/boolean_operations/images/boolean_image083.png
Normal file
After Width: | Height: | Size: 825 B |
BIN
dox/user_guides/boolean_operations/images/boolean_image084.png
Normal file
After Width: | Height: | Size: 2.2 KiB |
BIN
dox/user_guides/boolean_operations/images/boolean_image085.png
Normal file
After Width: | Height: | Size: 828 B |
BIN
dox/user_guides/boolean_operations/images/boolean_image086.png
Normal file
After Width: | Height: | Size: 3.4 KiB |
BIN
dox/user_guides/boolean_operations/images/boolean_image087.png
Normal file
After Width: | Height: | Size: 1.4 KiB |
BIN
dox/user_guides/boolean_operations/images/boolean_image088.png
Normal file
After Width: | Height: | Size: 940 B |
BIN
dox/user_guides/boolean_operations/images/boolean_image089.png
Normal file
After Width: | Height: | Size: 1.6 KiB |
BIN
dox/user_guides/boolean_operations/images/boolean_image090.png
Normal file
After Width: | Height: | Size: 1.4 KiB |
BIN
dox/user_guides/boolean_operations/images/boolean_image091.png
Normal file
After Width: | Height: | Size: 2.8 KiB |
BIN
dox/user_guides/boolean_operations/images/boolean_image092.png
Normal file
After Width: | Height: | Size: 1.3 KiB |
BIN
dox/user_guides/boolean_operations/images/boolean_image093.png
Normal file
After Width: | Height: | Size: 2.7 KiB |
BIN
dox/user_guides/boolean_operations/images/boolean_image094.png
Normal file
After Width: | Height: | Size: 1.4 KiB |
BIN
dox/user_guides/boolean_operations/images/boolean_image095.png
Normal file
After Width: | Height: | Size: 3.8 KiB |
BIN
dox/user_guides/boolean_operations/images/boolean_image096.png
Normal file
After Width: | Height: | Size: 1.3 KiB |
BIN
dox/user_guides/boolean_operations/images/boolean_image097.png
Normal file
After Width: | Height: | Size: 3.9 KiB |
BIN
dox/user_guides/boolean_operations/images/boolean_image098.png
Normal file
After Width: | Height: | Size: 1.3 KiB |
BIN
dox/user_guides/boolean_operations/images/boolean_image099.png
Normal file
After Width: | Height: | Size: 2.6 KiB |
BIN
dox/user_guides/boolean_operations/images/boolean_image100.png
Normal file
After Width: | Height: | Size: 1.3 KiB |
BIN
dox/user_guides/boolean_operations/images/boolean_image101.png
Normal file
After Width: | Height: | Size: 2.5 KiB |
BIN
dox/user_guides/boolean_operations/images/boolean_image102.png
Normal file
After Width: | Height: | Size: 1.3 KiB |
BIN
dox/user_guides/boolean_operations/images/boolean_image103.png
Normal file
After Width: | Height: | Size: 1.9 KiB |
BIN
dox/user_guides/boolean_operations/images/boolean_image104.png
Normal file
After Width: | Height: | Size: 1.3 KiB |
BIN
dox/user_guides/boolean_operations/images/boolean_image105.png
Normal file
After Width: | Height: | Size: 4.0 KiB |
BIN
dox/user_guides/boolean_operations/images/boolean_image106.png
Normal file
After Width: | Height: | Size: 1.2 KiB |
BIN
dox/user_guides/boolean_operations/images/boolean_image107.png
Normal file
After Width: | Height: | Size: 4.2 KiB |
BIN
dox/user_guides/boolean_operations/images/boolean_image108.png
Normal file
After Width: | Height: | Size: 1.3 KiB |
BIN
dox/user_guides/boolean_operations/images/boolean_image109.png
Normal file
After Width: | Height: | Size: 3.3 KiB |
BIN
dox/user_guides/boolean_operations/images/boolean_image110.png
Normal file
After Width: | Height: | Size: 1.4 KiB |
BIN
dox/user_guides/boolean_operations/images/boolean_image111.png
Normal file
After Width: | Height: | Size: 3.8 KiB |
BIN
dox/user_guides/boolean_operations/images/boolean_image112.png
Normal file
After Width: | Height: | Size: 1.2 KiB |
BIN
dox/user_guides/boolean_operations/images/boolean_image113.png
Normal file
After Width: | Height: | Size: 4.9 KiB |
BIN
dox/user_guides/boolean_operations/images/boolean_image114.png
Normal file
After Width: | Height: | Size: 1.4 KiB |
BIN
dox/user_guides/boolean_operations/images/boolean_image115.png
Normal file
After Width: | Height: | Size: 5.1 KiB |
BIN
dox/user_guides/boolean_operations/images/boolean_image116.png
Normal file
After Width: | Height: | Size: 1.3 KiB |
BIN
dox/user_guides/boolean_operations/images/boolean_image117.png
Normal file
After Width: | Height: | Size: 5.0 KiB |
BIN
dox/user_guides/boolean_operations/images/boolean_image118.png
Normal file
After Width: | Height: | Size: 1.2 KiB |
BIN
dox/user_guides/boolean_operations/images/boolean_image119.png
Normal file
After Width: | Height: | Size: 4.3 KiB |
BIN
dox/user_guides/boolean_operations/images/boolean_image120.png
Normal file
After Width: | Height: | Size: 1.3 KiB |
BIN
dox/user_guides/boolean_operations/images/boolean_image121.png
Normal file
After Width: | Height: | Size: 79 KiB |
BIN
dox/user_guides/boolean_operations/images/boolean_image122.png
Normal file
After Width: | Height: | Size: 77 KiB |
BIN
dox/user_guides/boolean_operations/images/boolean_image123.png
Normal file
After Width: | Height: | Size: 51 KiB |
BIN
dox/user_guides/boolean_operations/images/boolean_image124.png
Normal file
After Width: | Height: | Size: 135 KiB |
BIN
dox/user_guides/boolean_operations/images/boolean_image125.png
Normal file
After Width: | Height: | Size: 20 KiB |
BIN
dox/user_guides/boolean_operations/images/boolean_image126.png
Normal file
After Width: | Height: | Size: 76 KiB |
BIN
dox/user_guides/boolean_operations/images/boolean_image127.png
Normal file
After Width: | Height: | Size: 84 KiB |
BIN
dox/user_guides/boolean_operations/images/boolean_image128.png
Normal file
After Width: | Height: | Size: 40 KiB |
BIN
dox/user_guides/boolean_operations/images/boolean_image129.png
Normal file
After Width: | Height: | Size: 45 KiB |
BIN
dox/user_guides/boolean_operations/images/boolean_image130.png
Normal file
After Width: | Height: | Size: 43 KiB |
BIN
dox/user_guides/boolean_operations/images/boolean_image131.png
Normal file
After Width: | Height: | Size: 35 KiB |
BIN
dox/user_guides/boolean_operations/images/boolean_image132.png
Normal file
After Width: | Height: | Size: 24 KiB |