PTC Creo Guidelines - icub-tech-iit/cad-libraries GitHub Wiki

Table of contents

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'.

assigned-computed-mass

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

  1. Right-click any Creo shortcut.
  2. Select open file location.
  3. A folder will open. Type "borrow" in the search bar.
  4. Launch parametric_borrow.bat. image
  5. Select the desidered borrowing period in days.

Create a new material for shared library

  1. Open an existing part or create a new one.
  2. In the Model Tree, right-click Materials, click Edit Materials. A new window will appear. Click Create new solid material (liquid material is also an option, although quite rare).
  3. 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. The Description 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, click Save to Library.
  4. 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.
  5. In GitHub, go to your own fork of cad-libraries, then navigate /config/materials. (If you never forked cad‑libraries before, this is a good chance to do so!) Click Add file, Upload files.
  6. 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.
  7. 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).
  8. If you are the reviewer, check that the mandatory fields are filled in and have realistic values - order of magnitude.
  9. 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.

image

image

image

Now save the part and remember to un-check the license EDU_Com Convert.