1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-08-29 14:00:49 +03:00

Compare commits

...

2 Commits

Author SHA1 Message Date
ona
343c1ac06a 0032695: Data Exchange - Wrong cut sphere face in step export
- Test is added
2022-11-15 10:36:11 +03:00
smoskvin
eeba62cbd3 Increment OCCT version up to 7.8.0dev 2022-11-12 01:20:10 +03:00
2 changed files with 28 additions and 5 deletions

View File

@@ -34,7 +34,7 @@
// Primary definitions
#define OCC_VERSION_MAJOR 7
#define OCC_VERSION_MINOR 7
#define OCC_VERSION_MINOR 8
#define OCC_VERSION_MAINTENANCE 0
//! This macro must be commented in official release, and set to non-empty
@@ -42,12 +42,12 @@
//! - "dev" for development version between releases
//! - "beta..." or "rc..." for beta releases or release candidates
//! - "project..." for version containing project-specific fixes
//#define OCC_VERSION_DEVELOPMENT "dev"
#define OCC_VERSION_DEVELOPMENT "dev"
// Derived (manually): version as real and string (major.minor)
#define OCC_VERSION 7.7
#define OCC_VERSION_STRING "7.7"
#define OCC_VERSION_COMPLETE "7.7.0"
#define OCC_VERSION 7.8
#define OCC_VERSION_STRING "7.8"
#define OCC_VERSION_COMPLETE "7.8.0"
//! Derived: extended version as string ("major.minor.maintenance.dev")
#ifdef OCC_VERSION_DEVELOPMENT

23
tests/bugs/step/bug32695 Normal file
View File

@@ -0,0 +1,23 @@
puts "============"
puts "OCC32695"
puts "============"
puts ""
#######################################################################
# Data Exchange - Wrong cut sphere face in step export
#######################################################################
pload XDE OCAF MODELING VISUALIZATION
psphere s 0.5
plane p 0 0 0 1 0 0
pcylinder c p 0.1 1.0
bcut r s c
vinit View1
#vdisplay -dispMode 1 r; vsetcolor r RED
vfit
set aTmpFile "$imagedir/${casename}.stp"
testwritestep "$aTmpFile" r
testreadstep "$aTmpFile" s
file delete "$aTmpFile"
vdisplay -dispMode 1 s; vsetcolor s GREEN
vfit
checkview -screenshot -3d -path ${imagedir}/${test_image}.png