Compare commits
646 Commits
CR25444
...
NewGEOM_2.
Author | SHA1 | Date | |
---|---|---|---|
|
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 | ||
|
4cf9a9f0ea | ||
|
92ac0eb708 | ||
|
ee6bb37b7f | ||
|
312a4043c2 | ||
|
51023771f9 | ||
|
bbe97eddea | ||
|
f43eff9ffe | ||
|
fe79003598 | ||
|
b9f6147d75 | ||
|
7c32c7c41f | ||
|
ee5ee7db3b | ||
|
8ac0cf5265 | ||
|
49b0c452e2 | ||
|
6219c44ce7 | ||
|
73d0a668b3 | ||
|
b7d2387022 | ||
|
656ec77a10 | ||
|
2283570591 | ||
|
032c140ff1 | ||
|
7c8996f49f | ||
|
d5a9d0da1c | ||
|
edf3cf25a2 | ||
|
da2db6a705 | ||
|
e275de58af | ||
|
8422b578d7 | ||
|
f05f2e3430 | ||
|
74da0216d7 | ||
|
949df2b64b | ||
|
ccadc126ba | ||
|
a4bb1420ca | ||
|
70d08ce5b2 | ||
|
3d58dc498b | ||
|
68cdb44b0a | ||
|
fa0f5a5558 | ||
|
f4fa7f0c16 | ||
|
db005e48df | ||
|
d0607a766f | ||
|
13cd069dbc | ||
|
b49eaa701f | ||
|
d315303da2 | ||
|
3922a2ec0f | ||
|
be09e9bf18 | ||
|
8a864791fe | ||
|
e11c1bc433 | ||
|
21b7d8be4c | ||
|
076ca35c3f | ||
|
a319f03ff9 | ||
|
c0bd0de183 | ||
|
558e68ea11 | ||
|
06696fd835 | ||
|
0b309a75c4 | ||
|
368cdde60e | ||
|
e8feb725a4 | ||
|
a6964ce627 | ||
|
21087d914b | ||
|
7fd6425dc4 | ||
|
3ea0a91b70 | ||
|
e159a66863 | ||
|
d2d9e8dc0e | ||
|
7e7bbb3a9e | ||
|
150e93a7f2 | ||
|
4a913f2102 | ||
|
6c6aadb1ff | ||
|
abdf0b107e | ||
|
b1d15f53b3 | ||
|
49e1a5c7e9 | ||
|
aa627f0805 | ||
|
8bcdd6976a | ||
|
ee0a5d2528 | ||
|
0059facbbf | ||
|
90a9485514 | ||
|
f70d6437bd | ||
|
9bb81d6ce8 | ||
|
e0608a8d27 | ||
|
e83c01bfc0 | ||
|
c84d6e55ea | ||
|
a86ce5a64a | ||
|
a791eb69f4 | ||
|
34e923b5c2 | ||
|
baf72cd2e7 | ||
|
80d659a5a6 | ||
|
d0a994c7f1 | ||
|
32a15d12db | ||
|
4ca4bbe8bd | ||
|
8cf06aa236 | ||
|
0da4579283 | ||
|
4590b5516c | ||
|
cf2439de58 | ||
|
ceb31c6156 | ||
|
93442c6f24 | ||
|
393598ebd6 | ||
|
7da00517d4 | ||
|
eb7404bf16 | ||
|
7a733b194b | ||
|
82b4c24940 | ||
|
32d5cd7b98 | ||
|
7f2debb25f | ||
|
80eb96707a | ||
|
c088aa932f | ||
|
46c99a694f | ||
|
db348d8c53 | ||
|
93e572caa0 | ||
|
49cfd13dca | ||
|
2fa97a4304 | ||
|
2dc8b7cc5b | ||
|
947085567f | ||
|
2caff0b32f | ||
|
e3573bb9ec | ||
|
c827ea3a68 | ||
|
00ea319b16 | ||
|
f3fb84ce21 | ||
|
18006a0f10 | ||
|
b350f6ee1e | ||
|
2958244411 | ||
|
2c5b6d9c12 | ||
|
a806787bd6 | ||
|
5e5ce65be4 | ||
|
6fb3418ea1 | ||
|
0797d9d30a | ||
|
a507ffd9d7 | ||
|
3edc7eea42 | ||
|
dbf0485ef0 | ||
|
43dbdb15db | ||
|
3908084224 |
@@ -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")
|
||||
@@ -182,15 +187,19 @@ if (3RDPARTY_NOT_INCLUDED)
|
||||
message (FATAL_ERROR "NOT FOUND: ${3RDPARTY_NOT_INCLUDED}" )
|
||||
endif()
|
||||
|
||||
list (REMOVE_DUPLICATES 3RDPARTY_INCLUDE_DIRS)
|
||||
string (REGEX REPLACE ";" "\n\t" 3RDPARTY_INCLUDE_DIRS_WITH_ENDS "${3RDPARTY_INCLUDE_DIRS}")
|
||||
message (STATUS "The directories containing 3rdparty headers: ${3RDPARTY_INCLUDE_DIRS_WITH_ENDS}")
|
||||
include_directories (${3RDPARTY_INCLUDE_DIRS})
|
||||
if (3RDPARTY_INCLUDE_DIRS)
|
||||
list (REMOVE_DUPLICATES 3RDPARTY_INCLUDE_DIRS)
|
||||
string (REGEX REPLACE ";" "\n\t" 3RDPARTY_INCLUDE_DIRS_WITH_ENDS "${3RDPARTY_INCLUDE_DIRS}")
|
||||
message (STATUS "The directories containing 3rdparty headers: ${3RDPARTY_INCLUDE_DIRS_WITH_ENDS}")
|
||||
include_directories (${3RDPARTY_INCLUDE_DIRS})
|
||||
endif()
|
||||
|
||||
list (REMOVE_DUPLICATES 3RDPARTY_LIBRARY_DIRS)
|
||||
string (REGEX REPLACE ";" "\n\t" 3RDPARTY_LIBRARY_DIRS_WITH_ENDS "${3RDPARTY_LIBRARY_DIRS}")
|
||||
message (STATUS "The directories containing 3rdparty libraries: ${3RDPARTY_LIBRARY_DIRS_WITH_ENDS}")
|
||||
link_directories (${3RDPARTY_LIBRARY_DIRS})
|
||||
if (3RDPARTY_LIBRARY_DIRS)
|
||||
list (REMOVE_DUPLICATES 3RDPARTY_LIBRARY_DIRS)
|
||||
string (REGEX REPLACE ";" "\n\t" 3RDPARTY_LIBRARY_DIRS_WITH_ENDS "${3RDPARTY_LIBRARY_DIRS}")
|
||||
message (STATUS "The directories containing 3rdparty libraries: ${3RDPARTY_LIBRARY_DIRS_WITH_ENDS}")
|
||||
link_directories (${3RDPARTY_LIBRARY_DIRS})
|
||||
endif()
|
||||
|
||||
OCCT_MAKE_BUILD_POSTFIX()
|
||||
|
||||
|
@@ -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)
|
||||
|
@@ -57,8 +57,13 @@ if (3RDPARTY_VTK_DIR AND EXISTS "${3RDPARTY_VTK_DIR}")
|
||||
if (NOT 3RDPARTY_VTK_LIBRARY_DIR OR NOT EXISTS "${3RDPARTY_VTK_LIBRARY_DIR}")
|
||||
if(EXISTS "${3RDPARTY_VTK_DIR}/lib${BUILD_POSTFIX}")
|
||||
set (3RDPARTY_VTK_LIBRARY_DIR "${3RDPARTY_VTK_DIR}/lib${BUILD_POSTFIX}" CACHE FILEPATH "The directory containing libs of VTK" FORCE)
|
||||
endif()
|
||||
else()
|
||||
else()
|
||||
if (NOT "${BUILD_POSTFIX}" STREQUAL "" AND EXISTS "${3RDPARTY_VTK_DIR}/lib")
|
||||
set (3RDPARTY_VTK_LIBRARY_DIR "${3RDPARTY_VTK_DIR}/lib" CACHE FILEPATH "The directory containing libs of VTK" FORCE)
|
||||
endif()
|
||||
endif()
|
||||
endif()
|
||||
if(3RDPARTY_VTK_LIBRARY_DIR)
|
||||
list (APPEND 3RDPARTY_LIBRARY_DIRS "${3RDPARTY_VTK_LIBRARY_DIR}")
|
||||
endif()
|
||||
endif()
|
||||
@@ -107,7 +112,11 @@ if (WIN32)
|
||||
if (NOT 3RDPARTY_VTK_DLL_DIR OR NOT EXISTS "${3RDPARTY_VTK_DLL_DIR}")
|
||||
if(EXISTS "${3RDPARTY_VTK_DIR}/bin${BUILD_POSTFIX}")
|
||||
set (3RDPARTY_VTK_DLL_DIR "${3RDPARTY_VTK_DIR}/bin${BUILD_POSTFIX}" CACHE FILEPATH "The directory containing dll of VTK" FORCE)
|
||||
endif()
|
||||
else()
|
||||
if (NOT "${BUILD_POSTFIX}" STREQUAL "" AND EXISTS "${3RDPARTY_VTK_DIR}/bin")
|
||||
set (3RDPARTY_VTK_DLL_DIR "${3RDPARTY_VTK_DIR}/bin" CACHE FILEPATH "The directory containing dll of VTK" FORCE)
|
||||
endif()
|
||||
endif()
|
||||
endif()
|
||||
endif()
|
||||
|
||||
@@ -142,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)
|
||||
|
@@ -11,6 +11,9 @@ overview/overview.md
|
||||
../samples/CSharp/ReadMe.md
|
||||
../samples/CSharp/ReadMe_D3D.md
|
||||
|
||||
../samples/qt/AndroidQt/ReadMe.md
|
||||
../samples/java/jniviewer/ReadMe.md
|
||||
|
||||
tutorial/tutorial.md
|
||||
|
||||
technical_overview/technical_overview.md
|
||||
@@ -27,7 +30,7 @@ user_guides/step/step.md
|
||||
user_guides/xde/xde.md
|
||||
user_guides/ocaf/ocaf.md
|
||||
user_guides/tobj/tobj.md
|
||||
user_guides/draw_test_harness.md
|
||||
user_guides/draw_test_harness/draw_test_harness.md
|
||||
user_guides/brep_wp/brep_wp.md
|
||||
user_guides/ocaf_functionmechanism_wp/ocaf_functionmechanism_wp.md
|
||||
user_guides/ocaf_tree_wp/ocaf_tree_wp.md
|
||||
|
@@ -16,7 +16,7 @@ user_guides/ocaf_functionmechanism_wp/ocaf_functionmechanism_wp.md
|
||||
user_guides/ocaf_tree_wp/ocaf_tree_wp.md
|
||||
user_guides/ocaf_wp/ocaf_wp.md
|
||||
user_guides/step/step.md
|
||||
user_guides/draw_test_harness.md
|
||||
user_guides/draw_test_harness/draw_test_harness.md
|
||||
user_guides/tobj/tobj.md
|
||||
user_guides/visualization/visualization.md
|
||||
user_guides/voxels_wp/voxels_wp.md
|
||||
|
@@ -16,11 +16,12 @@ There are two types of third-party products, which are necessary to build OCCT:
|
||||
|
||||
* Mandatory products:
|
||||
* Tcl/Tk 8.5 - 8.6;
|
||||
* FreeType 2.4.10 - 2.4.11;
|
||||
* FreeType 2.4.10 - 2.5.3;
|
||||
* Optional products:
|
||||
* TBB 3.x - 4.x;
|
||||
* gl2ps 1.3.5 - 1.3.8;
|
||||
* FreeImage 3.14.1 - 3.15.4.
|
||||
* FreeImage 3.14.1 - 3.16.0;
|
||||
* VTK 6.1.0.
|
||||
|
||||
@section dev_guides__building_3rdparty_linux_2 Building Mandatory Third-party Products
|
||||
|
||||
@@ -104,7 +105,7 @@ Download the necessary archive from http://sourceforge.net/projects/freetype/fil
|
||||
@subsection dev_guides__building_3rdparty_linux_3_1 TBB
|
||||
|
||||
This third-party product is installed with binaries from the archive that can be downloaded from http://threadingbuildingblocks.org.
|
||||
Go to the **Download** page, find the release version you need and pick the archive for Linux platform.
|
||||
Go to the **Download** page, find the release version you need and pick the archive for Linux platform.
|
||||
To install, unpack the downloaded archive of TBB product.
|
||||
|
||||
@subsection dev_guides__building_3rdparty_linux_3_2 gl2ps
|
||||
@@ -195,56 +196,49 @@ and unpack it. The directory with unpacked sources is further referred to as *F
|
||||
make DESTDIR=FREEIMAGE_INSTALL_DIR install
|
||||
|
||||
5. Clean temporary files
|
||||
|
||||
make clean
|
||||
|
||||
@subsection dev_guides__building_3rdparty_linux_3_4 OpenCL ICD Loader
|
||||
make clean
|
||||
|
||||
If you have OpenCL SDK (one provided by Apple, AMD, NVIDIA, Intel, or other
|
||||
vendor) installed on your system, you should find OpenCL headers and
|
||||
libraries required for building OCCT inside that SDK.
|
||||
@subsection dev_guides__building_3rdparty_linux_3_4 VTK
|
||||
|
||||
Alternatively, you can use OpenCL ICD (Installable Client Driver) Loader
|
||||
provided by Khronos group. The following describes steps used to build OpenCL
|
||||
ICD Loader version 1.2.11.0.
|
||||
You can download VTK sources from http://www.vtk.org/VTK/resources/software.html
|
||||
|
||||
1. Download OpenCL ICD Loader sources archive and OpenCL header files from
|
||||
Khronos OpenCL Registry
|
||||
http://www.khronos.org/registry/cl/
|
||||
### The building procedure:
|
||||
|
||||
2. Unpack the archive and put headers in *inc/CL* sub-folder
|
||||
Download the necessary archive from http://www.vtk.org/VTK/resources/software.html and unpack it.
|
||||
|
||||
3. Print *make* in the root of the unpacked archive to compile OpenCL libraries.
|
||||
1. Install or build *cmake* product from the source file.
|
||||
2. Start *cmake* in GUI mode with the directory where the source files of *VTK* are located:
|
||||
|
||||
4. Create installation folder for OpenCL IDL Loader package and put there:
|
||||
ccmake VTK_SRC_DIR
|
||||
|
||||
1. OpenCL header files in *include/CL* subfolder
|
||||
* Press <i>[c]</i> to make the initial configuration
|
||||
* Define the necessary options in *VTK_INSTALL_PREFIX*
|
||||
* Press <i>[c]</i> to make the final configuration
|
||||
* Press <i>[g]</i> to generate Makefile and exit
|
||||
|
||||
2. *libOpenCL.so* (generated in *bin* subfolder of source package) in *lib* subfolder
|
||||
3. Start the building of VTK:
|
||||
|
||||
make
|
||||
|
||||
4. Start the installation of gl2ps. Binaries will be installed according to the *VTK_INSTALL_PREFIX* option.
|
||||
|
||||
make install
|
||||
|
||||
@section dev_guides__building_3rdparty_linux_4 Installation From Official Repositories
|
||||
|
||||
@subsection dev_guides__building_3rdparty_linux_4_1 Debian-based distributives
|
||||
|
||||
All 3rd-party products required for building of OCCT could be installed
|
||||
from official repositories. You may install them from console using apt-get utility:
|
||||
All 3rd-party products required for building of OCCT could be installed
|
||||
from official repositories. You may install them from console using apt-get utility:
|
||||
|
||||
sudo apt-get install \
|
||||
tcllib tklib tcl-dev tk-dev \
|
||||
libfreetype-dev \
|
||||
libxt-dev libxmu-dev \
|
||||
libgl1-mesa-dev \
|
||||
libfreeimage-dev \
|
||||
libtbb-dev \
|
||||
libgl2ps-dev
|
||||
|
||||
To launch binaries built with WOK you need to install C shell and 32-bit libraries on x86_64 distributives:
|
||||
|
||||
sudo apt-get install \
|
||||
csh \
|
||||
libstdc++5:i386 libxt6:i386
|
||||
sudo apt-get install tcllib tklib tcl-dev tk-dev libfreetype-dev libxt-dev libxmu-dev libxi-dev libgl1-mesa-dev libglu1-mesa-dev libfreeimage-dev libtbb-dev libgl2ps-dev
|
||||
|
||||
Building is possible with any C++ compliant compiler :
|
||||
|
||||
sudo apt-get install \
|
||||
g++
|
||||
To launch binaries built with WOK you need to install C shell and 32-bit libraries on x86_64 distributives:
|
||||
|
||||
# you may need to add i386 if not done already by command "dpkg --add-architecture i386"
|
||||
sudo apt-get install csh libstdc++6:i386 libxt6:i386 libxext6:i386 libxmu6:i386
|
||||
|
||||
Building is possible with C++ compliant compiler:
|
||||
|
||||
sudo apt-get install g++
|
||||
|
11
dox/dev_guides/building/3rdparty/3rdparty_osx.md
vendored
@@ -14,13 +14,12 @@ http://www.opencascade.org/getocc/require/</a>.
|
||||
There are two types of third-party products, which are necessary to build OCCT:
|
||||
|
||||
* Mandatory products:
|
||||
* Tcl 8.5,
|
||||
* Tk 8.5,
|
||||
* FreeType 2.4.10
|
||||
* Tcl/Tk 8.5 - 8.6;
|
||||
* FreeType 2.4.10 - 2.5.3.
|
||||
* Optional products:
|
||||
* TBB 3.x or 4.x,
|
||||
* gl2ps 1.3.5,
|
||||
* FreeImage 3.14.1 or 3.15.x
|
||||
* TBB 3.x - 4.x;
|
||||
* gl2ps 1.3.5 - 1.3.8;
|
||||
* FreeImage 3.14.1 - 3.16.0
|
||||
|
||||
@section dev_guides__building_3rdparty_osx_2 Building Mandatory Third-party Products
|
||||
|
||||
|
@@ -12,11 +12,12 @@ The links for downloading the third-party products are available on the web site
|
||||
|
||||
* Mandatory products:
|
||||
* Tcl/Tk 8.5 - 8.6;
|
||||
* FreeType 2.4.10 - 2.4.11.
|
||||
* FreeType 2.4.10 - 2.5.3.
|
||||
* Optional products:
|
||||
* TBB 3.x - 4.x;
|
||||
* gl2ps 1.3.5 - 1.3.8;
|
||||
* FreeImage 3.14.1 -3.15.4.
|
||||
* FreeImage 3.14.1 -3.16.0;
|
||||
* VTK 6.1.0.
|
||||
|
||||
It is recommended to create a separate new folder on your workstation, where you will unpack the downloaded archives of the third-party products, and where you will build these products (for example, *c:\\occ3rdparty*).
|
||||
|
||||
@@ -62,11 +63,21 @@ Download the necessary archive from http://www.tcl.tk/software/tcltk/download.ht
|
||||
|
||||
This is to avoid extra prefix 't' in the library name, which is not recognized by default by OCCT build tools.
|
||||
|
||||
3. In the command prompt, run *buildall.vc.bat*
|
||||
|
||||
3. By default, Tcl uses dynamic version of run-time library (MSVCRT), which must be installed on the system where Tcl will be used.
|
||||
You may wish to link Tcl library with static version of run-time to avoid this dependency.
|
||||
For that:
|
||||
|
||||
* Edit file *makefile.vc* replacing strings "crt = -MD" by "crt = -MT"
|
||||
|
||||
* Edit source file *tclMain.c* (located in folder *generic*) commenting out forward declaration of function *isatty()*.
|
||||
|
||||
|
||||
4. In the command prompt, run *buildall.vc.bat*
|
||||
|
||||
You might need to run this script twice to have *tclsh* executable installed; check subfolder *bin* of specified installation path to verify this.
|
||||
|
||||
4. For convenience of use, we recommend making a copy of *tclsh* executable created in subfolder *bin* of *INSTALLDIR* and named with Tcl version number suffix, as *tclsh.exe* (with no suffix)
|
||||
5. For convenience of use, we recommend making a copy of *tclsh* executable created in subfolder *bin* of *INSTALLDIR* and named with Tcl version number suffix, as *tclsh.exe* (with no suffix)
|
||||
|
||||
> cd D:\OCCT\3rdparty\tcltk-86-32\bin
|
||||
> cp tclsh86.exe tclsh.exe
|
||||
@@ -299,35 +310,22 @@ http://sourceforge.net/projects/freeimage/files/Source%20Distribution/
|
||||
|
||||
As a result, you should have the library files of FreeImage product in *freeimage\\Dist* folder (*FreeImage.dll* and *FreeImage.lib*) and in *freeimage\\Wrapper\\FreeImagePlus\\dist* folder (*FreeImagePlus.dll* and *FreeImagePlus.lib*).
|
||||
|
||||
@subsection dev_guides__building_3rdparty_win_opencl OpenCL ICD Loader
|
||||
@subsection dev_guides__building_3rdparty_win_3_4 VTK
|
||||
|
||||
If you have OpenCL SDK (one provided by Apple, AMD, NVIDIA, Intel, or other
|
||||
vendor) installed on your system, you should find OpenCL headers and
|
||||
libraries required for building OCCT inside that SDK.
|
||||
VTK is an open-source, freely available software system for 3D computer graphics, image processing and visualization. VTK Integration Services component provides adaptation functionality for visualization of OCCT topological shapes by means of VTK library.
|
||||
|
||||
Alternatively, you can use OpenCL ICD (Installable Client Driver) Loader
|
||||
provided by Khronos group. The following describes steps used to build OpenCL
|
||||
ICD Loader version 1.2.11.0.
|
||||
### The building procedure:
|
||||
|
||||
1. Download OpenCL ICD Loader sources archive and OpenCL header files from
|
||||
Khronos OpenCL Registry
|
||||
http://www.khronos.org/registry/cl/
|
||||
1. Download the necessary archive from http://www.vtk.org/VTK/resources/software.html and unpack it into *3rdparty* folder.
|
||||
|
||||
2. Unpack the archive and put headers in *inc/CL* sub-folder
|
||||
As a result, you will get a folder named, for example, <i>3rdparty\VTK-6.1.0.</i>
|
||||
|
||||
3. Use CMake to generate VS projects for building the library:
|
||||
- Start CMake-GUI and select OpenCL ICD Loader folder as source path, and the folder of your choice for VS project and intermediate build data;
|
||||
- Click **Generate**;
|
||||
- Select the VS version to be used from the ones you have installed (we recommend using VS 2010) and the architecture (32- or 64-bit).
|
||||
Further in this document, this folder is referred to as *VTK*.
|
||||
|
||||
4. Open solution *OPENCL_ICD_LOADER.sln* generated in the build folder.
|
||||
Though not strictly necessary, we recommend making two changes in the generated projects:
|
||||
- Add file *OpenCL.rc* to project OpenCL, to have version and Khronos copyright correctly embedded in DLL;
|
||||
- Change **Runtime library** to **Multi-threaded(/MT)** in the properties of OpenCL project, on **C/C++ / Code Generation** page for Release configuration, to avoid dependency on run-time DLL.
|
||||
|
||||
5. Build project OpenCL in Release mode
|
||||
2. Use CMake to generate VS projects for building the library:
|
||||
- Start CMake-GUI and select VTK folder as source path, and the folder of your choice for VS project and intermediate build data.
|
||||
- Click **Configure**.
|
||||
- Select the VS version to be used from the ones you have installed (we recommend using VS 2010) and the architecture (32 or 64-bit).
|
||||
- Generate VS projects with default CMake options. The open solution *VTK.sln* will be generated in the build folder.
|
||||
|
||||
6. Create the installation folder for OpenCL IDL Loader package and put there:
|
||||
- OpenCL header files in *include/CL* subfolder;
|
||||
- *OpenCL.dll* (generated in *bin/Release* subfolder of the source package) in *bin* subfolder;
|
||||
- *OpenCL.lib* (generated in *Release* subfolder of the build directory) in *lib* subfolder.
|
||||
3. Build project VTK in Release mode.
|
||||
|
@@ -46,13 +46,13 @@ To prevent this, it is suggested to make links:
|
||||
* <i> --with-freeimage= </i> defines the location of installed **FreeImage** product;
|
||||
* <i> --with-tbb-include= </i> defines the location of *tbb.h*;
|
||||
* <i> --with-tbb-library= </i> defines the location of *libtbb.so*;
|
||||
* <i> --with-opencl-include= </i> defines the location of *cl.h*;
|
||||
* <i> --with-opencl-library= </i> defines the location of *libOpenCL.so*;
|
||||
* <i> --with-vtk-include= </i> defines the location of VTK includes;
|
||||
* <i> --with-vtk-library= </i> defines the location of VTK libraries;
|
||||
* <i> --enable-debug= yes: </i> includes debug information, no: does not include debug information;
|
||||
* <i> --enable-production= yes: </i> switches code optimization, no: switches off code optimization;
|
||||
* <i> --disable-draw </i> allows OCCT building without Draw.
|
||||
|
||||
If location of **FreeImage, TBB, gl2ps** or **OpenCL** is not specified, OCCT will be built without these optional libraries.
|
||||
If location of **FreeImage, TBB, gl2ps** or **VTK** is not specified, OCCT will be built without these optional libraries.
|
||||
|
||||
|
||||
Attention: 64-bit platforms are detected automatically.
|
||||
@@ -60,7 +60,7 @@ To prevent this, it is suggested to make links:
|
||||
Example:
|
||||
|
||||
|
||||
\> ./configure -prefix=/PRODUCTS/occt-6.5.5 --with-tcl=/PRODUCTS/tcltk-8.5.8/lib --with-tk=/PRODUCTS/tcltk-8.5.8/lib --with-freetype=/PRODUCTS/freetype-2.4.10 --with-gl2ps=/PRODUCTS/gl2ps-1.3.5 --with-freeimage=/PRODUCTS/freeimage-3.14.1 --with-tbb-include=/PRODUCTS/tbb30_018oss/include --with-tbb-library=/PRODUCTS/tbb30_018oss/lib/ia32/cc4.1.0_libc2.4_kernel2.6.16.21 --with-opencl-include=/PRODUCTS/opencl-icd-1.2.11.0/include --with-opencl-library=/PRODUCTS/opencl-icd-1.2.11.0/lib
|
||||
\> ./configure -prefix=/PRODUCTS/occt-6.5.5 --with-tcl=/PRODUCTS/tcltk-8.5.8/lib --with-tk=/PRODUCTS/tcltk-8.5.8/lib --with-freetype=/PRODUCTS/freetype-2.4.10 --with-gl2ps=/PRODUCTS/gl2ps-1.3.5 --with-freeimage=/PRODUCTS/freeimage-3.14.1 --with-tbb-include=/PRODUCTS/tbb30_018oss/include --with-tbb-library=/PRODUCTS/tbb30_018oss/lib/ia32/cc4.1.0_libc2.4_kernel2.6.16.21 -–with-vtk-include=/PRODUCTS/VTK-6.1.0/include/vtk-6.1 –with-vtk-library=/PRODUCTS/ /VTK-6.1.0//lib
|
||||
|
||||
|
||||
3.If configure exits successfully, you can build OCCT with *make* command.
|
||||
|
@@ -28,4 +28,8 @@ paragraph 1 of \ref occt_dev_guides__building for instructions.
|
||||
|
||||
3. Build with Visual Studio
|
||||
|
||||
Note: If VTK was not installed on you computer and you are not interested in usage of
|
||||
OCCT VTK Integration Services (VIS) component you should exclude TKIVtk and TKIVtkDraw
|
||||
projects from process of compilation in the main menu <b>Build / Configuration Manager</b>.
|
||||
|
||||
To start DRAW, launch *draw.bat*.
|
||||
|
@@ -296,19 +296,19 @@ Each descriptive block should contain at least a function name and purpose descr
|
||||
See the following example:
|
||||
|
||||
~~~~~{.cpp}
|
||||
// ----------------------------------------------
|
||||
// =======================================================================
|
||||
// function : TellMeSmthGood
|
||||
// purpose : Gives me good news
|
||||
// ----------------------------------------------
|
||||
// =======================================================================
|
||||
void TellMeSmthGood()
|
||||
{
|
||||
...
|
||||
}
|
||||
|
||||
// ----------------------------------------------
|
||||
// =======================================================================
|
||||
// function : TellMeSmthBad
|
||||
// purpose : Gives me bad news
|
||||
// ----------------------------------------------
|
||||
// =======================================================================
|
||||
void TellMeSmthBad()
|
||||
{
|
||||
...
|
||||
|
@@ -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 |
|
||||
|
@@ -7,6 +7,26 @@ Debugging tools and hints {#occt_dev_guides__debug}
|
||||
|
||||
This manual describes facilities included in OCCT to support debugging, and provides some hints for more efficient debug.
|
||||
|
||||
@section occt_debug_macro Compiler macro to enable extended debug messages
|
||||
|
||||
Many OCCT algorithms can produce extended debug messages, usually printed to cout.
|
||||
These include messages on internal errors and special cases encountered, timing etc.
|
||||
In OCCT versions prior to 6.8.0 most of these messages were activated by compiler macro *DEB*, enabled by default in debug builds.
|
||||
Since version 6.8.0 this is disabled by default but can be enabled by defining compiler macro *OCCT_DEBUG*.
|
||||
|
||||
To enable this macro on Windows when building with Visual Studio projects, edit file custom.bat and add the line:
|
||||
|
||||
set CSF_DEFINES=OCCT_DEBUG
|
||||
|
||||
Some algorithms use specific macros for yet more verbose messages, usually started with OCCT_DEBUG_.
|
||||
These messages can be enabled in the same way, by defining corresponding macro.
|
||||
|
||||
Note that some header files are modified when *OCCT_DEBUG* is enabled, hence binaries built with it enabled are not compatible with client code built without this option; this is not intended for production use.
|
||||
|
||||
@section occt_debug_exceptions Calling JIT debugger on exception
|
||||
|
||||
On Windows platform when using Visual Studio compiler there is a possibility to start the debugger automatically if an exception is caught in a program running OCCT. For this, set environment variable *CSF_DEBUG* to any value. Note that this feature works only if you enable OCCT exception handler in your application by calling *OSD::SetSignal()*.
|
||||
|
||||
@section occt_debug_bop Self-diagnostics in Boolean operations algorithm
|
||||
|
||||
In real-world applications modeling operations are often performed in a long sequence, while the user sees only the final result of the whole sequence. If the final result is wrong, the first debug step is to identify the offending operation to be debugged further. Boolean operation algorithm in OCCT provides a self-diagnostic feature which can help to do that step.
|
||||
@@ -15,10 +35,6 @@ This feature can be activated by defining environment variable *CSF_DEBUG_BOP*,
|
||||
|
||||
The diagnostic code checks validity of the input arguments and the result of each Boolean operation. When an invalid situation is detected, the report consisting of argument shapes and a DRAW script to reproduce the problematic operation is saved to the directory pointed by *CSF_DEBUG_BOP*.
|
||||
|
||||
@section occt_debug_exceptions Calling JIT debugger on exception
|
||||
|
||||
On Windows platform when using Visual Studio compiler there is a possibility to start the debugger automatically if an exception is caught in a program running OCCT. For this, set environment variable *CSF_DEBUG* to any value. Note that this feature works only if you enable OCCT exception handler in your application by calling *OSD::SetSignal()*.
|
||||
|
||||
@section occt_debug_call Functions for calling from debugger
|
||||
|
||||
Modern interactive debuggers provide the possibility to execute application code at a program break point. This feature can be used to analyse the temporary objects available only in the context of the debugged code. OCCT provides several global functions that can be used in this way.
|
||||
@@ -69,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.
|
||||
|
||||
~~~~~
|
||||
@@ -88,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:
|
||||
|
||||
@@ -253,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: 5.8 KiB After Width: | Height: | Size: 4.8 KiB |
Before Width: | Height: | Size: 4.6 KiB After Width: | Height: | Size: 10 KiB |
BIN
dox/overview/images/samples_java_android_occt.jpg
Normal file
After Width: | Height: | Size: 13 KiB |
BIN
dox/overview/images/samples_qml_android_occt.jpg
Normal file
After Width: | Height: | Size: 14 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
|
||||
@@ -58,8 +57,7 @@ OPEN CASCADE S.A.S.
|
||||
|
||||
**Windows** is a registered trademark of Microsoft Corporation in the United States and other countries.
|
||||
|
||||
**Mac** and the Mac logo, **OpenCL** and the OpenCL logo, are trademarks of
|
||||
Apple Inc., registered in the U.S. and other countries.
|
||||
**Mac** and the Mac logo are trademarks of Apple Inc., registered in the U.S. and other countries.
|
||||
|
||||
Acknowledgements
|
||||
------------------
|
||||
@@ -117,14 +115,7 @@ implementation of 3D viewer. OpenGL specification is developed by the
|
||||
Khronos group, http://www.khronos.org/opengl/. OCCT code includes header
|
||||
file *glext.h* obtained from Khronos web site.
|
||||
|
||||
**OpenCL** (Open Computing Language) is open, royalty-free standard for
|
||||
cross-platform, parallel programming of modern processors, optionally used by
|
||||
OCCT for ray tracing. OpenCL specification is developed by the
|
||||
Khronos group, http://www.khronos.org/opencl/. The implementations of OpenCL
|
||||
are available from Apple, AMD, NVIDIA, Intel, and other vendors.
|
||||
**OpenCL Installable Client Driver (ICD) Loader** is a library provided by
|
||||
Khronos group which allows dispatching OpenCL calls to underlying
|
||||
implementation.
|
||||
**VTK** - The **Visualization Toolkit (VTK)** is an open-source, freely available software system for 3D computer graphics, image processing and visualization. OCCT VIS component provides adaptation functionality for visualization of OCCT topological shapes by means of VTK library. If you need further information on VTK, please, refer to VTK Homepage http://www.vtk.org/.
|
||||
|
||||
**Doxygen** developed by Dimitri van Heesch is open source documentation system for
|
||||
C++, C, Java, Objective-C, Python, IDL, PHP and C#. This product is used in Open CASCADE Technology
|
||||
@@ -176,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
|
||||
|
||||
@@ -227,85 +193,86 @@ for which OCCT is certified to work.
|
||||
|
||||
@subsection OCCT_OVW_SECTION_5_1 Linux
|
||||
|
||||
| Operating System | Mandriva 2010, CentOS 5.5, CentOS 6.3, Fedora 17, Fedora 18, Ubuntu-1304, Debian 6.0\* |
|
||||
| Operating System | Mandriva 2010, CentOS 5.5, CentOS 6.3, Fedora 17, Fedora 18, Ubuntu 13.04, Debian 6.0\* |
|
||||
| ----- | ----- |
|
||||
| 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) | Tcltk 8.5 or 8.6 http://www.tcl.tk/software/tcltk/download.html |
|
||||
| Qt (for demonstration tools) | Qt 4.6.2 http://qt-project.org/downloads |
|
||||
| Freetype (for text rendering) | freetype-2.4.11 http://sourceforge.net/projects/freetype/files/ |
|
||||
| FreeImage (optional, for support of common 2D graphic formats) | FreeImage 3.15.4 http://sourceforge.net/projects/freeimage/files |
|
||||
| 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 |
|
||||
| Freetype (for text rendering) | freetype-2.5.3 http://sourceforge.net/projects/freetype/files/ |
|
||||
| FreeImage (optional, for support of common 2D graphic formats) | FreeImage 3.16.0 http://sourceforge.net/projects/freeimage/files |
|
||||
| gl2ps (optional, for export contents of OCCT viewer to vector graphic files) | gl2ps-1.3.8 http://geuz.org/gl2ps/ |
|
||||
| Intel TBB (optional, for multithreaded algorithms) | TBB 3.x or 4.x http://www.threadingbuildingblocks.org/ |
|
||||
| OpenCL (optional, for ray tracing visualization) | OpenCL SDK (usually one provided by vendor of your graphic card) or OpenCL ICD Loader by Khronos group, http://www.khronos.org/registry/cl |
|
||||
| VTK (for VTK Integration Services | VTK 6.1.0 http://www.vtk.org/VTK/resources/software.html |
|
||||
|
||||
* Debian 60 64 bit is a platform used for regular testing of contributions
|
||||
* Debian 6.0 64 bit is a platform used for regular testing of contributions
|
||||
|
||||
@subsection OCCT_OVW_SECTION_5_2 Windows
|
||||
|
||||
| Operating System | Windows 8 / 7 SP1 / Vista SP2 / XP SP3 |
|
||||
| Operating System | Windows 8.1 / 7 SP1 / Vista SP2 / XP SP3 |
|
||||
| ----- | ----- |
|
||||
| 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)|
|
||||
| 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.6.2 http://qt-project.org/downloads |
|
||||
| Freetype (OCCT Text rendering) | freetype-2.4.11 http://sourceforge.net/projects/freetype/files/ |
|
||||
| FreeImage (Support of common graphic formats) | FreeImage 3.15.4 http://sourceforge.net/projects/freeimage/files |
|
||||
| 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 |
|
||||
| Freetype (OCCT Text rendering) | freetype-2.5.3 http://sourceforge.net/projects/freetype/files/ |
|
||||
| FreeImage (Support of common graphic formats) | FreeImage 3.16.0 http://sourceforge.net/projects/freeimage/files |
|
||||
| gl2ps (Export contents of OCCT viewer to vector graphic file) | gl2ps-1.3.8 http://geuz.org/gl2ps/ |
|
||||
| Intel TBB (optional, for multithreaded algorithms) | TBB 3.x or 4.x http://www.threadingbuildingblocks.org/ |
|
||||
| OpenCL (optional, for ray tracing visualization) | OpenCL SDK (usually one provided by vendor of your graphic card) or OpenCL ICD Loader by Khronos group, http://www.khronos.org/registry/cl |
|
||||
| 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
|
||||
|
||||
| Operating System | Mac OS X 10.9 Mavericks / 10.8 Mountain Lion / 10.7 Lion / 10.6.8 Snow Leopard |
|
||||
| Operating System | OS X 10.10 Yosemite / 10.9 Mavericks / 10.8 Mountain Lion / 10.7 Lion / 10.6.8 Snow Leopard |
|
||||
| ----- | ----- |
|
||||
| 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)|
|
||||
| C++ | XCode 3.2 or newer (4.x is recommended) |
|
||||
| TCL (for testing tools) | Tcltk 8.5 or 8.6 http://www.tcl.tk/software/tcltk/download.html |
|
||||
| Qt (for demonstration tools) | Qt 4.6.2 http://qt-project.org/downloads |
|
||||
| Freetype (OCCT Text rendering) | freetype-2.4.11 http://sourceforge.net/projects/freetype/files/ |
|
||||
| FreeImage (Support of common graphic formats) | FreeImage 3.15.4 http://sourceforge.net/projects/freeimage/files |
|
||||
| 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 |
|
||||
| Freetype (OCCT Text rendering) | freetype-2.5.3 http://sourceforge.net/projects/freetype/files/ |
|
||||
| FreeImage (Support of common graphic formats) | FreeImage 3.16.0 http://sourceforge.net/projects/freeimage/files |
|
||||
| gl2ps (Export contents of OCCT viewer to vector graphic file) | gl2ps-1.3.8 http://geuz.org/gl2ps/ |
|
||||
| Intel TBB (optional, for multithreaded algorithms) | TBB 3.x or 4.x http://www.threadingbuildingblocks.org/ |
|
||||
| OpenCL (optional, for ray tracing visualization) | Native OpenCL 1.2.8 |
|
||||
|
||||
@subsection OCCT_OVW_SECTION_5_4 Android
|
||||
|
||||
| Operating System | Android 4.0.4+ |
|
||||
| ----- | ----- |
|
||||
| Minimum memory | 512 MB, 1 GB recommended |
|
||||
| Freetype (for text rendering) | freetype-2.4.11 http://sourceforge.net/projects/freetype/files/ |
|
||||
| Minimum memory | 512 MB, 1 GB recommended |
|
||||
| C++ | NDK r10, GNU gcc 4.8 or newer |
|
||||
| Qt (for demonstration tools) | Qt 5.3.2 http://qt-project.org/downloads |
|
||||
| Freetype (for text rendering) | freetype-2.5.3 http://sourceforge.net/projects/freetype/files/ |
|
||||
|
||||
@subsection overview_req_graphics Graphic cards
|
||||
|
||||
For 3d viewer, graphic card or software implementation supporting OpenGL 1.1
|
||||
or above is required. OpenGL 2.1+ is highly recommended.
|
||||
For ray tracing, hardware implementation of OpenCL 1.1+ is required.
|
||||
On desktop, 3D viewer requires graphic card or software implementation supporting OpenGL 1.1 or above. OpenGL 2.1+ is highly recommended.
|
||||
Ray tracing requires OpenGL 4.0+ or OpenGL 3.1+ with GL_ARB_texture_buffer_object_rgb32 extension. Textures within ray tracing will be available only when GL_ARB_bindless_texture extension is provided by driver.
|
||||
|
||||
On mobile platforms, OpenGL ES 2.0+ is required for 3D viewer. The ray tracing is not yet available on mobile platforms.
|
||||
Some old hardware might be unable to execute complex GLSL programs (e.g. with high number of light sources, clipping planes).
|
||||
|
||||
The following table lists graphic cards tested to work with OCCT.
|
||||
|
||||
| Graphic card | Driver/GL/GLSL/CL version | OS | OpenGL (fixed pipeline) | OpenGL (shaders) | OpenCL (ray tracing) |
|
||||
| Graphic card | Driver | OS | OpenGL (fixed pipeline) | OpenGL (shaders) | OpenGL (ray tracing) |
|
||||
| ---- | ---- | ---- | :----: | :----: | :----: |
|
||||
| NVIDIA GeForce GT 610, 630M, 640 | Driver 311.44, GL 4.3.0, GLSL 4.30 | Windows 7 64 bit | OK | OK | OK |
|
||||
| Intel(R) HD Graphics 3000 | GL 3.1.0, GLSL 1.40 | Windows 7 64 bit | OK | OK | none |
|
||||
| RadeOn 9600 | GL 2.1.8454, GLSL 1.20 | | OK | bad | none |
|
||||
| AMD/ATI RadeOn HD 7870 | Driver 6.14.10.12002, GL 4.2.12002, GLSL 4.20 | Windows 7 64-bit | OK | OK | OK |
|
||||
| Mesa 7.8.2 Windows GDI Driver\* | GL 2.1, GLSL version 1.20 | Mac OS X 10.6 / OS X 10.9 | OK | artifacts | none |
|
||||
| NVIDIA GeForce 320 | | Mac OS X 10.6 / OS X 10.9 | OK | OK | OK on OSX 10.6, bad on OSX 10.9 |
|
||||
| NVIDIA GeForce 6600 GT | GL 2.1.2, GLSL 1.20 | Windows XP 32-bit | OK | OK | none |
|
||||
| Apple software OpenGL | | Mac OS X 10.6 / OS X 10.9 | OK | OK | OK |
|
||||
| NVIDIA GeForce GTX 650 | Driver 340.52, OpenGL 4.4 | Windows 7 64 bit | OK | OK | OK |
|
||||
| AMD/ATI RadeOn HD 7870 | Driver 14.100, OpenGL 4.4 | Windows 7 64-bit | OK | OK | OK |
|
||||
| Intel(R) HD Graphics 2500 | Driver 10.18.10.3621, OpenGL 4.0 | Windows 7 64 bit | OK | OK | limited (no textures) |
|
||||
| RadeOn 9600 | OpenGL 2.1.8454 | Windows XP 32-bit | OK | bad | unsupported by hardware |
|
||||
| NVIDIA GeForce 6600 GT | OpenGL 2.1 | Windows XP 32-bit | OK | OK | unsupported by hardware |
|
||||
| NVIDIA GeForce 320 | N/A | Mac OS X 10.6 / OS X 10.10 | OK | OK | not yet supported by OCCT |
|
||||
| Apple software OpenGL | N/A | Mac OS X 10.6 / OS X 10.10 | OK | OK | N/A |
|
||||
| Mesa 10.2.4 \* | "Gallium 0.4 on llvmpipe (LLVM 3.4, 256 bits)" OpenGL 3.0 | Windows 7 64 bit | OK | OK | unsupported by software |
|
||||
|
||||
* Mesa implementation of OpenGL is used for certification testing of OCCT
|
||||
|
||||
@@ -319,7 +286,7 @@ building OCCT from sources on supported platforms.
|
||||
@subsection OCCT_OVW_SECTION_4_1 Using Windows installer
|
||||
|
||||
On Windows Open CASCADE Technology can be installed with binaries precompiled by
|
||||
Visual C++ 2008 with installation procedure.
|
||||
Visual C++ 2010 with installation procedure.
|
||||
|
||||
**Recommendation:**
|
||||
|
||||
@@ -338,21 +305,21 @@ 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.7.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"
|
||||
|
||||
* **adm** This folder contains administration files, which allow rebuilding OCCT;
|
||||
* **adm/cmake** This folder contains files of CMake building procedure;
|
||||
* **adm/msvc** This folder contains Visual Studio projects for Visual C++ 2005, 2008 and 2010, which allow rebuilding OCCT under Windows platform in 32 and 64-bit mode;
|
||||
* **adm/msvc** This folder contains Visual Studio projects for Visual C++ 2005, 2008, 2010, 2012 and 2013 which allow rebuilding OCCT under Windows platform in 32 and 64-bit mode;
|
||||
* **data** This folder contains CAD files in different formats, which can be used to test the OCCT functionality;
|
||||
* **doc** This folder contains OCCT documentation in HTML and PDF format;
|
||||
* **dox** This folder contains sources of OCCT documentation in plain text (MarkDown) format;
|
||||
@@ -361,7 +328,7 @@ The contents of the OCCT-6.7.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/vc9** This folder contains executable and library files built in optimize mode for Windows platform by Visual C++ 2008;
|
||||
* **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
|
||||
|
||||
@@ -392,7 +359,6 @@ The scripts are located in the OCCT root folder.
|
||||
|
||||
### Description of system variables:
|
||||
|
||||
|
||||
* **CASROOT** is used to define the root directory of Open CASCADE Technology;
|
||||
* **PATH** is required to define the path to OCCT binaries and 3rdparty folder;
|
||||
* **LD_LIBRARY_PATH** is required to define the path to OCCT libraries (on UNIX platforms only);
|
||||
@@ -625,7 +591,20 @@ Export:
|
||||
|
||||
See \subpage samples_csharp_occt "Readme" for details.
|
||||
|
||||
Also there is an other C# example with the same functionality which demonstrates integration of Direct3D Viewer into .NET applications using WPF front end.
|
||||
There is also another C# example with the same functionality, which demonstrates the integration of Direct3D Viewer into .NET applications using WPF front end.
|
||||
|
||||
See \subpage samples_csharp_direct3d "Readme" for details.
|
||||
|
||||
@subsubsection OCCT_OVW_SECTION_7_3_4 Android
|
||||
|
||||
There are two samples are representing usage OCCT framework on Android mobile platform. They represent an OCCT-based 3D-viewer with CAD import support in formats BREP, STEP and IGES: jniviewer (java) and AndroidQt (qt+qml)
|
||||
|
||||
jniviewer
|
||||
@image html /overview/images/samples_java_android_occt.jpg
|
||||
@image latex /overview/images/samples_java_android_occt.jpg
|
||||
Java - See \subpage samples_java_android_occt "Readme" for details.
|
||||
|
||||
AndroidQt
|
||||
@image html /overview/images/samples_qml_android_occt.jpg
|
||||
@image latex /overview/images/samples_qml_android_occt.jpg
|
||||
Qt - See \subpage samples_qml_android_occt "Readme" for details.
|
||||
|
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 |