cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Stay updated on what is happening on the PTC Community by subscribing to PTC Community Announcements. X

Translate the entire conversation x

Mathcad Community Challenge July 2025: Projecting with Non-Euclidean Geometry

DaveMartin
16-Pearl

Mathcad Community Challenge July 2025: Projecting with Non-Euclidean Geometry

This month we have another 3D geometry challenge. We are projecting squares onto cylinders and spheres and measuring the perimeter. Create a worksheet that calculates any of the following:

 

Challenge 1: Perimeter

Calculate the perimeter of a square with a side length of 50 onto the following:

  • A sphere of diameter 100.
  • A cylinder of diameter 100 and length 100.

Clarifications:

  • Note that the square is projected from a plane that is parallel to a plane tangent to the sphere or cylinder. It is projected in a normal direction from the tangent plane as in the accompanying images.
  • For the sphere, the square is centered on the point of tangency for the plane to the sphere.
  • For the cylinder, the square is centered on the middle of the cylinder and the tangent point.
  • If the intention is unclear, please refer to the images or post a comment where the community can help explain the scenario to you.

Sphere Challenge Hidden.png

 

Cylinder Challenge Hidden.png

 

Challenge 2: Area

Calculate the area of the above projected squares.

 

Challenge 3: Function or Program

Write a function or program that computes the perimeter or area of the projected square where the inputs are the length of a side of the square and the diameter of the sphere / cylinder.

Can you incorporate error checking in situations where the projected square goes beyond the boundaries of the square or cylinder?

 

Bonus Challenge – Graphing:

Use the XY Plot, 3D Plot, or Chart Component to depict the change in perimeter or area as a function of the length of one side of the square.

 

Bonus Challenge – Advanced Input Controls:

Incorporate advanced input controls (e.g., sliders, radio buttons, etc.) to allow people to change the inputs (e.g., length of the side of a square, diameter of the cylinder / sphere) to change the results.

 

You can submit partial worksheets. For example, you can solve the first challenge and submit additional worksheets later in the month as you solve later challenges.

3D CAD models created in Creo Parametric 7 have been attached to this challenge if anyone wants to verify their calculations.

 

Find the Mathcad Community Challenge Guidelines here!

 

 

Dave Martin - dmartin@creowindchill.com - https://www.mcaeconsulting.com
30 REPLIES 30

Congrats on being declared the "winner", Werner: https://www.mathcad.com/en/blogs/community-challenge-projection 

I manage the Creo and PTC Mathcad YouTube channels for PTC, as well as all PTC Mathcad marketing in general.
Announcements

Top Tags