mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-07 18:30:55 +03:00
0023639: Exception on attempt to save to XmlOcaf format
Variant FULL is removed from the options of DRAW command pload; ALL can be used in all cases
This commit is contained in:
parent
3b2af789dd
commit
7a1b96cb98
@ -37,7 +37,6 @@ DATAEXCHANGEKERNEL : XSDRAW
|
|||||||
OCAF : VISUALIZATION, OCAFKERNEL
|
OCAF : VISUALIZATION, OCAFKERNEL
|
||||||
DATAEXCHANGE : XDE, VISUALIZATION
|
DATAEXCHANGE : XDE, VISUALIZATION
|
||||||
XDE : DATAEXCHANGEKERNEL, XDEDRAW
|
XDE : DATAEXCHANGEKERNEL, XDEDRAW
|
||||||
FULL : MODELING, OCAFKERNEL, VISUALIZATION
|
|
||||||
ALL : MODELING, OCAFKERNEL, DATAEXCHANGE
|
ALL : MODELING, OCAFKERNEL, DATAEXCHANGE
|
||||||
|
|
||||||
TOPTEST : TKTopTest
|
TOPTEST : TKTopTest
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
# Testing command: standard set of commands
|
# Testing command: standard set of commands
|
||||||
#
|
#
|
||||||
# The test checks compatibility with old format files. Old files: bug26290_oldformat1.cbf & bug26290_oldformat2.cbf
|
# The test checks compatibility with old format files. Old files: bug26290_oldformat1.cbf & bug26290_oldformat2.cbf
|
||||||
pload FULL
|
pload OCAF VISUALIZATION
|
||||||
set Lab1 0:1:1
|
set Lab1 0:1:1
|
||||||
set Lab2 0:1:2
|
set Lab2 0:1:2
|
||||||
|
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
#
|
#
|
||||||
# The test checks joint work of these attributes (including Undo/Redo) and keeps result in 'bug26290_new_1.cbf' file
|
# The test checks joint work of these attributes (including Undo/Redo) and keeps result in 'bug26290_new_1.cbf' file
|
||||||
|
|
||||||
pload FULL
|
pload OCAF VISUALIZATION
|
||||||
|
|
||||||
box b 100 200 300
|
box b 100 200 300
|
||||||
NewDocument D BinOcaf
|
NewDocument D BinOcaf
|
||||||
|
@ -7,7 +7,8 @@
|
|||||||
#
|
#
|
||||||
# The test checks joint work of these attributes, opens kept before file 'bug26290_new_1.cbf', modifies it,
|
# The test checks joint work of these attributes, opens kept before file 'bug26290_new_1.cbf', modifies it,
|
||||||
# checks Undo/Redo work and keeps it in 'bug26290_new_2.cbf'
|
# checks Undo/Redo work and keeps it in 'bug26290_new_2.cbf'
|
||||||
pload FULL
|
|
||||||
|
pload OCAF VISUALIZATION
|
||||||
|
|
||||||
# prepare document
|
# prepare document
|
||||||
box b 100 200 300
|
box b 100 200 300
|
||||||
|
@ -6,7 +6,6 @@ puts ""
|
|||||||
# Improvement of storage of Ocaf document in XML file format
|
# Improvement of storage of Ocaf document in XML file format
|
||||||
######################################################
|
######################################################
|
||||||
|
|
||||||
#pload FULL
|
|
||||||
NewDocument M4 XmlOcaf
|
NewDocument M4 XmlOcaf
|
||||||
|
|
||||||
# Simple array with many separators inside.
|
# Simple array with many separators inside.
|
||||||
|
@ -15,7 +15,6 @@
|
|||||||
# 8. Recompute selections
|
# 8. Recompute selections
|
||||||
# ===============================================
|
# ===============================================
|
||||||
|
|
||||||
#pload FULL
|
|
||||||
erase
|
erase
|
||||||
Close D
|
Close D
|
||||||
|
|
||||||
|
@ -15,7 +15,6 @@
|
|||||||
# 9. Recompute selections
|
# 9. Recompute selections
|
||||||
# ===============================================
|
# ===============================================
|
||||||
|
|
||||||
#pload FULL
|
|
||||||
erase
|
erase
|
||||||
Close D
|
Close D
|
||||||
|
|
||||||
|
@ -14,7 +14,6 @@
|
|||||||
# 8. Recompute selections
|
# 8. Recompute selections
|
||||||
# ===============================================
|
# ===============================================
|
||||||
|
|
||||||
#pload FULL
|
|
||||||
erase
|
erase
|
||||||
Close D
|
Close D
|
||||||
|
|
||||||
|
@ -13,7 +13,6 @@
|
|||||||
# 7. Recompute modeling functions
|
# 7. Recompute modeling functions
|
||||||
# 8. Recompute selections
|
# 8. Recompute selections
|
||||||
# ===============================================
|
# ===============================================
|
||||||
#pload FULL
|
|
||||||
|
|
||||||
erase
|
erase
|
||||||
Close D
|
Close D
|
||||||
|
@ -13,7 +13,6 @@
|
|||||||
# 7. Recompute modeling functions
|
# 7. Recompute modeling functions
|
||||||
# 8. Recompute selections
|
# 8. Recompute selections
|
||||||
# ===============================================
|
# ===============================================
|
||||||
#pload FULL
|
|
||||||
|
|
||||||
erase
|
erase
|
||||||
Close D
|
Close D
|
||||||
|
@ -17,8 +17,6 @@
|
|||||||
# 11. Recompute selections
|
# 11. Recompute selections
|
||||||
# ===============================================
|
# ===============================================
|
||||||
|
|
||||||
#pload FULL
|
|
||||||
|
|
||||||
erase
|
erase
|
||||||
Close D
|
Close D
|
||||||
|
|
||||||
|
@ -18,7 +18,6 @@
|
|||||||
# 12. Recompute selections
|
# 12. Recompute selections
|
||||||
# ===============================================
|
# ===============================================
|
||||||
|
|
||||||
#pload FULL
|
|
||||||
erase
|
erase
|
||||||
Close D
|
Close D
|
||||||
|
|
||||||
|
@ -16,7 +16,6 @@
|
|||||||
# 10. Recompute selections
|
# 10. Recompute selections
|
||||||
# ===============================================
|
# ===============================================
|
||||||
|
|
||||||
#pload FULL
|
|
||||||
erase
|
erase
|
||||||
Close D
|
Close D
|
||||||
|
|
||||||
|
@ -15,7 +15,6 @@
|
|||||||
# 8. Recompute selections
|
# 8. Recompute selections
|
||||||
# ===============================================
|
# ===============================================
|
||||||
|
|
||||||
#pload FULL
|
|
||||||
erase
|
erase
|
||||||
Close D
|
Close D
|
||||||
|
|
||||||
|
@ -19,7 +19,6 @@
|
|||||||
# 12. Recompute selections
|
# 12. Recompute selections
|
||||||
# ===============================================
|
# ===============================================
|
||||||
|
|
||||||
#pload FULL
|
|
||||||
erase
|
erase
|
||||||
Close D
|
Close D
|
||||||
|
|
||||||
|
@ -16,7 +16,6 @@
|
|||||||
# 9. Recompute selections
|
# 9. Recompute selections
|
||||||
# ===============================================
|
# ===============================================
|
||||||
|
|
||||||
#pload FULL
|
|
||||||
erase
|
erase
|
||||||
Close D
|
Close D
|
||||||
|
|
||||||
|
@ -21,8 +21,6 @@
|
|||||||
# 11. Recompute selections
|
# 11. Recompute selections
|
||||||
# ===============================================
|
# ===============================================
|
||||||
|
|
||||||
|
|
||||||
#pload FULL
|
|
||||||
erase
|
erase
|
||||||
Close D
|
Close D
|
||||||
|
|
||||||
|
@ -14,7 +14,6 @@
|
|||||||
# 8. Recompute selections
|
# 8. Recompute selections
|
||||||
# ===============================================
|
# ===============================================
|
||||||
|
|
||||||
#pload FULL
|
|
||||||
erase
|
erase
|
||||||
Close D
|
Close D
|
||||||
|
|
||||||
|
@ -17,7 +17,6 @@
|
|||||||
# 11. Recompute selections
|
# 11. Recompute selections
|
||||||
# ===============================================
|
# ===============================================
|
||||||
|
|
||||||
#pload FULL
|
|
||||||
erase
|
erase
|
||||||
Close D
|
Close D
|
||||||
|
|
||||||
|
@ -19,7 +19,6 @@
|
|||||||
# 13. Recompute selections
|
# 13. Recompute selections
|
||||||
# ===============================================
|
# ===============================================
|
||||||
|
|
||||||
#pload FULL
|
|
||||||
erase
|
erase
|
||||||
Close D
|
Close D
|
||||||
|
|
||||||
|
@ -18,7 +18,6 @@
|
|||||||
# 12. Recompute
|
# 12. Recompute
|
||||||
# ===============================================
|
# ===============================================
|
||||||
|
|
||||||
#pload FULL
|
|
||||||
erase
|
erase
|
||||||
Close D
|
Close D
|
||||||
|
|
||||||
|
@ -14,7 +14,6 @@
|
|||||||
# 6. Recompute
|
# 6. Recompute
|
||||||
# ===============================================
|
# ===============================================
|
||||||
|
|
||||||
pload FULL
|
|
||||||
set doc d16
|
set doc d16
|
||||||
NewDocument $doc BinOcaf
|
NewDocument $doc BinOcaf
|
||||||
AddDriver $doc Box Fuse Attach
|
AddDriver $doc Box Fuse Attach
|
||||||
|
@ -14,10 +14,10 @@
|
|||||||
# 6. Recompute
|
# 6. Recompute
|
||||||
# ===============================================
|
# ===============================================
|
||||||
|
|
||||||
pload FULL
|
|
||||||
set doc d16
|
set doc d16
|
||||||
NewDocument $doc BinOcaf
|
NewDocument $doc BinOcaf
|
||||||
AddDriver $doc Box Fuse Attach
|
AddDriver $doc Box Fuse Attach
|
||||||
|
|
||||||
#1.create 3 boxes
|
#1.create 3 boxes
|
||||||
set B1 [AddBox $doc 100 200 350]
|
set B1 [AddBox $doc 100 200 350]
|
||||||
set B2 [AddBox $doc 330 330 90]
|
set B2 [AddBox $doc 330 330 90]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user