1 ROOT CATIA P. Biryukov (progress report)

Slides:



Advertisements
Similar presentations
Digital Image Resolution Image Resolution Preparing Digital Images For press or monitor presentation.
Advertisements

CC SQL Utilities.
How to use - A Powerful Tool
Starting Out with C++, 3 rd Edition 1 Chapter 10 – Characters, Strings, and the string Class.
Computer Science & Engineering 2111 Text Functions 1CSE 2111 Lecture-Text Functions.
Adobe Flash CS4 – Illustrated Unit E: Optimizing and Publishing a Movie.
EndNote Short Example. About EndNote A bibliographic or citation management tool Allows you to store citations in a personal database Citations can then.
Millennium Scheduler. 2 Scheduler How to find “Scheduler” Overview Making a task Making a schedule Bugs ________________________________________ More.
Lecture Converting Access to HTML and Beyond. Reports Converted to a Web Page A report designed for paper can be easily exported to HTML Right-click on.
– uhttp://sfx.calstate.edu:9003/fullerton?sid=sfx:opac_856&issn= &pid=serviceType=getHolding.
1 Introducing Scenario Network Data Editing and Enterprise GIS January 27, 2010 Minhua Wang, Ph.D. Citilabs, Inc.
Job Description Report Generation. Job Description Reporting Click on Manage JD and select JD Report.
MSI-based installation Everything carried over from Office 2010 MAK, KMS and AD-based Activation Click-to-Run installation Built on App-V foundation.
© 2008 Cisco Systems, Inc. All rights reserved. Cisco Unity Connection 7.0 Directory Integration TOI Manoj Agrawal
Ogden Air Logistics Center. Purpose of Excel2FV Many agencies produce point lists of different data (target lists, force locations, etc.) in either Excel.
ITIS 1210 Introduction to Web-Based Information Systems Chapter 41 How Animation on the Web Works.
Interface between Root and CAD Peter Biryukov
Using ROOT geometry for FVTX reconstruction Zhengyun You Peking University Los Alamos National Lab Jan 22, 2007.
Matching school attendance boundaries with schools from CCD dataset.
Creep of Tube Estimated Time for Completion: 5 minutes Experience Level: Higher MSC.Marc 2005r2 MSC.Patran 2005r2.
In the G4/ROOT hierarchy there are three conceptual layers: - G4VSolid: shape, size - G4VSolid: shape, size - G4LogicalVolume: material, MF, sensitivity,
Defining a Website. Review…. Page Title −The text that will be displayed in the title bar of the browser window on a web page File Name −What you “call”
Draft manual IPS 2.0 Robotics education HM Automation Solution Education.
ABI Instructions- Setting up your Gradebooks *skip to slide 10 for setting up a new quarter By Sarah Rosenkrantz
Emmanuel Delage LPC Clermont – IN2P3/CNRS – Clermont Université
RMS Importer Status MACS Week March 2011 PP b-ABR_RMSImporterStatus Angela Brett RMS Importer Status 1.
Quality Health Indicator Demonstration April 28, 2005.
Planning your site/organization on the Web Please use speaker notes for additional information!
Accessing Remote Datasets using the DAP protocol through the netCDF interface. Dr. Dennis Heimbigner Unidata netCDF Workshop August 3-4, 2009.
© 2006 Formic Wednesday 7th November 2007 Formic Scoop Training Mikey Desai.
Investigating Area by Folding Paper
Macro Recording. Macros Image-pro Plus has an internal programming language called Auto-Pro. We can use Auto-pro to create: Executable Routines Executable.
Darmstadt, 15. November 2015 Tobias Stockmanns, FZ Jülich1 A STEP to ROOT converter for the FairRoot framework ALICE-FAIR Computing Meeting, GSI,
Posting Narrated PowerPoint Slides on You Tube Charles J. Ansorge April 2006.
How to backup and restore WAP4410N configuration file properly.
Semi-Automatic patch upgrade kit
How to add recorded speech to slides in Power Point so they read automatically when you progress to the next slide.
Site Home Web Server USB Your House Copy Full address of local site including drive letter Works for Content Modifications Only Not Relationship Structure.
Explicit-to-Implicit Sequential Solution
BUILDING YOUR WEBSITE. MAKE SURE YOU HAVE TWO SCREENS You MUST have at least TWO SCREENS built in Photoshop by 2:35pm.
© Ms. Masihi.  All files related to a web site ( all web pages, images, etc. ) need to be saved in a Site Root Folder (sometimes called Local Root.
Liliya Karakoleva Telerik Software Academy academy.telerik.com Senior UX Designer Рисуване с вектори, пътеки и пиксели Drawing with Vectors, Paths and.
Innovation Intelligence ® Section 2 File Import. Copyright © 2012 Altair Engineering, Inc. Proprietary and Confidential. All rights reserved. Overview.
Feeding America Southwest Virginia Website Conversion & Virtual Food Drive FASWVA.
Records Management 2.0 Tips and Tricks Kevin Dorr Sr. Solutions Engineer Americas Channel.
Adobe Flash Professional CS5 – Illustrated Unit E: Optimizing and Publishing a Movie.
Interplay between ROOT and CATIA P. Biryukov
Chapter 11 Enhancing an Online Form and Using Macros Microsoft Word 2013.
Rainbow. Born ready… Children are born ready, able and eager to learn. They actively reach out to interact with other people, and in the world.
1st prog! Q: Read a char – from a keyboard & display it at the beginning of the next line! ====== A.
European Organization for Nuclear Research
JDXpert Workday Integration
Databases and Structured Files: What is a database?
MyProject Edit WG Web Site Data.
A Guide for Academic Staff
Arrays.
PowerPoint on PowerPoint
A Guide for Academic Staff
Selecting detector geometry by Run Number
A Guide for Professional Staff
A Guide for Managers for Professional Staff
Introducing Scenario Network Data Editing and Enterprise GIS
Source Transformation
A Guide for Managers for Professional Staff
A Guide for Professional Staff
A Guide for Managers for Academic Staff
A Guide for Academic Staff
A Guide for Professional Staff
Practice Geometry Practice
Presentation transcript:

1 ROOT CATIA P. Biryukov (progress report)

2Aim The aim of the work is to make ROOT geometry available in CATIA and vice versa The aim of the work is to make ROOT geometry available in CATIA and vice versa ROOT->CATIA 1.export geometry from ROOT using RootToCatia(char *fn) function (automatically) 2.import geometry to CATIA using macros (automatically) CATIA ROOT Geometry

3Aim The aim of the work is to make ROOT geometry available in CATIA and vice versa The aim of the work is to make ROOT geometry available in CATIA and vice versa CATIA-> ROOT 1.mark geometry in CATIA and specify geometry names (manually) 2.export STEP file with geometry (automatically by CATIA) 3.create file with geometry description (partly automatically using macros in CATIA) 4.convert geometry using CatiaToRoot (char *fn) function (automatically) ROOTCATIA Geometry (STEP) Types, Hierarchy

4 Example: CATIA->ROOT Create a geometry in CATIA

5 Mark the geometry

6... #51=CARTESIAN_POINT('world.1',(-100.,-100.,-100.)) ; #55=CRTESIAN_POINT('world.2',(-100.,100.,-100.)) ; #56=CARTESIAN_POINT('world.3',(100.,100.,-100.)) ; #57=CARTESIAN_POINT('world.4',(100.,-100.,-100.)) ; #58=CARTESIAN_POINT('world.5',(-100.,-100.,100.)) ; #59=CARTESIAN_POINT('world.6',(-100.,100.,100.)) ; #60=CARTESIAN_POINT('world.7',(100.,100.,100.)) ; #61=CARTESIAN_POINT('world.8',(100.,-100.,100.)) ; #62=CARTESIAN_POINT('trd2.1',(-100.,-50.,-100.)) ; #63=CARTESIAN_POINT('trd2.2',(-100.,50.,-100.)) ; #64=CARTESIAN_POINT('trd2.3',(100.,50.,-100.)) ; #65=CARTESIAN_POINT('trd2.4',(100.,-50.,-100.)) ; #66=CARTESIAN_POINT('trd2.5',(-10.,-100.,20.)) ; #67=CARTESIAN_POINT('trd2.6',(-10.,100.,20.)) ; #68=CARTESIAN_POINT('trd2.7',(10.,100.,20.)) ; #69=CARTESIAN_POINT('trd2.8',(10.,-100.,20.)) ; #70=CARTESIAN_POINT('tube.1',(0.,100.,60.)) ; #71=CARTESIAN_POINT('tube.2',(-10.,100.,60.)) ; #72=CARTESIAN_POINT('tube.3',(-40.,100.,60.)) ; #73=CARTESIAN_POINT('tube.4',(0.,-100.,60.)) ;... Example: CATIA->ROOT Export the geometry into a STEP file

7 0 TGeoBBox world TGeoTrd2 trd TGeoTube tube Example: CATIA->ROOT Write geometry description 2 TGeoTube tube

8 0 TGeoBBox world TGeoTrd2 trd TGeoTube tube Example: CATIA->ROOT Write geometry description 2 TGeoTube tube Number of a record in the file (0, 1, 2,...)

9 0 TGeoBBox world TGeoTrd2 trd TGeoTube tube Example: CATIA->ROOT Write geometry description 2 TGeoTube tube Type of the shape (TGeoBBox, TGeoTube, etc)

10 0 TGeoBBox world TGeoTrd2 trd TGeoTube tube Example: CATIA->ROOT Write geometry description 2 TGeoTube tube Name of the shape

11 0 TGeoBBox world TGeoTrd2 trd TGeoTube tube Example: CATIA->ROOT Write geometry description 2 TGeoTube tube Parent's number

12 0 TGeoBBox world TGeoTrd2 trd TGeoTube tube Example: CATIA->ROOT Write geometry description 2 TGeoTube tube Names of points, as they are named in STEP file (e. g. in STEP file point could have a name "tube.3" or "myBox.LeftBottom")

13 0 TGeoBBox world TGeoTrd2 trd TGeoTube tube Example: CATIA->ROOT Write geometry description 2 TGeoTube tube End of the record (all strings in the file must be ended with

14 0 TGeoBBox world TGeoTrd2 trd TGeoTube tube Example: CATIA->ROOT Write geometry description 2 TGeoTrap

15 Example: CATIA->ROOT Execute "StepToRoot" function StepToRoot(" myDetector "); it loads STEP file (myDetector.stp) it loads geometry description file (myDetector.txt) and it saves ROOT file (myDetector.root)

16 And as a result of the previous steps the following ROOT geometry was created and saved into myDetector.root file Example: CATIA->ROOT

17...now it could be changed... Example: CATIA->ROOT

18 Example: CATIA->ROOT Execute "StepToRoot" function RootToCatia(" myDetector "); it loads ROOT file (myDetector.root) and it saves file with geometry for CATIA (myDetector.txt)

19 Example: ROOT->CATIA The program creates myDetector.txt file 0 TGeoBBox world catiaPoint (0)Point catiaPoint (1)Point catiaPoint (2)Point catiaPoint (3)Point catiaPoint (4)Point catiaPoint (5)Point catiaPoint (6)Point catiaPoint (7)Point TGeoTrd2 trd catiaPoint (0)Point catiaPoint (1)Point catiaPoint (2)Point catiaPoint (3)Point catiaPoint (4)Point catiaPoint (5)Point catiaPoint (6)Point catiaPoint (7)Point TGeoTube tube catiaPoint (0)BottomCentre catiaPoint (1)RMinPoint catiaPoint (2)RMax catiaPoint (3)TopCentre TGeoTrd2 trd catiaPoint (0)Point

20 Example: ROOT->CATIA Load geometry

21 Example: Comparing Compare("myDetectorNew", "myDetectorOld", "myDetectorCmp"); myDetectorNew.stp myDetectorNew.txt myDetectorOld.stp myDetectorOld.txt myDetectorCmp.stp myDetectorCmp.txt

22 TGeoBox TGeoPara TGeoTrd1 TGeoTrd2 TGeoTrap TGeoGtra TGeoArb8 TGeoTube TGeoTubSeg TGeoCtub TGeoEltu TGeoCone TGeoConSeg TGeoPcon TGeoPgon TGeoSphere TGeoTorus TGeoXtru TGeoParaboloid TGeoHype TGeoBox TGeoPara TGeoTrd1 TGeoTrd2 TGeoTrap TGeoGtra TGeoArb8 TGeoTube TGeoTubSeg TGeoCtub TGeoEltu TGeoCone TGeoConSeg TGeoPcon TGeoPgon TGeoSphere TGeoTorus TGeoXtru TGeoParaboloid TGeoHype Progress Ready Not Ready is being made TGeoGtra can be converted from ROOT to CATIA, but not from CATIA to ROOT TGeoTorus can be converted from CATIA to ROOT and from ROOT to CATIA, but can not be recreated as a solid in CATIA (However it could be recreated as points)

23 TGeoBox TGeoPara TGeoTrd1 TGeoTrd2 TGeoTrap TGeoGtra TGeoArb8 TGeoTube TGeoTubSeg TGeoCtub TGeoEltu TGeoCone TGeoConSeg TGeoPcon TGeoPgon TGeoSphere TGeoTorus TGeoXtru TGeoParaboloid TGeoHype TGeoBox TGeoPara TGeoTrd1 TGeoTrd2 TGeoTrap TGeoGtra TGeoArb8 TGeoTube TGeoTubSeg TGeoCtub TGeoEltu TGeoCone TGeoConSeg TGeoPcon TGeoPgon TGeoSphere TGeoTorus TGeoXtru TGeoParaboloid TGeoHypeTGeoBoxTGeoPara TGeoTrd1 TGeoTrd2 TGeoTrap TGeoGtra TGeoArb8 TGeoTube TGeoTubSeg...and so on Marking geometry

24 The end Web site Problem: "What is required exactly?"