PTC Creo Guidelines - icub-tech-iit/cad-libraries GitHub Wiki
Table of contents
- Assigned vs Computed mass properties
- Borrow a Creo license for offline usage
- Create a new material for shared library
- Save file with Commercial license
Assigned vs Computed mass properties
In Creo generally you can check the mass properties of an assembly or a part using the function Analysis > Mass Properties
.
See the dedicated help page for Creo 7.0.
If the assembly contains at least one part that has Assigned
mass properties, then you will see the radio button 'Computed'/'Assigned'.
In our assemblies sometimes we use components that have
Assigned
mass properties (e.g. shrinkwaps), because of this it is important to select the button 'Assigned' when computing the mass properties for this kind of assemblies.
Borrow a Creo license for offline usage
- Right-click any Creo shortcut.
- Select open file location.
- A folder will open. Type "borrow" in the search bar.
- Launch parametric_borrow.bat.
- Select the desidered borrowing period in days.
Create a new material for shared library
- Open an existing part or create a new one.
- In the Model Tree, right-click Materials, click
Edit Materials
. A new window will appear. ClickCreate new solid material
(liquid material is also an option, although quite rare). - Fill in the required info. Name, Description, Density, Poisson's Ratio, Young's Modulus are mandatory fields. The
Name
must respect {a naming convention TBD}, it must contain only alphanumeric characters, hyphens or underscores (like standard Creo files). Please use lower case letters only to help with alphabetic sorting. TheDescription
must be filled in with a short description of the material and the source which the numeric data have been taken from, like datasheet or the name of an online material database (e.g.: matweb, campusplastics). Please check the unit of measurement of the numeric fields. Optionally, the Appearance section can be adjusted to give a realistic color and texture to the material. Once ready, clickSave to Library
. - Choose an easy-to-reach local path to temporarily store your material file. Desktop recommended. Please keep the name you decided during the Material Definition phase.
- In GitHub, go to your own fork of
cad-libraries
, then navigate/config/materials
. (If you never forkedcad‑libraries
before, this is a good chance to do so!) ClickAdd file
,Upload files
. - Here, drag and drop your file, insert a comment for your commit, select Create a new branch for this commit and start a pull request and rename the branch that will be associated to the pull request as you prefer. Please note that you can submit more than one material in the same commit or add more commits to the same PR branch if you need to. Once ready, click
Propose changes
. - In the pull request, choose a reviewer. Any @icub-tech-iit/silo-mech member will do. Also, please check that the pull request is targeting the master branch of the official
cad-libraries
repo (aka the upstream repo). - If you are the reviewer, check that the mandatory fields are filled in and have realistic values - order of magnitude.
- Merge or close pull request depending on the discussion with the reviewer.
If the pull request is succesfully merged, the new material will become available in the official cad-libraries
path, ready to be used in Creo.
Save file with Commercial license
Sometimes to work with non-educational partners we have to save our files with the commercial license. For this purpose follow these simple steps.
Now save the part and remember to un-check the license EDU_Com Convert
.