Rhino Commands

Created by Mohamed Khaled Ashmawy, Modified on Thu, 15 Jun 2023 at 11:50 AM by Mohamed Khaled Ashmawy

Adaptive Parts Environment (APE) has some Rhino3D commands.


Here is a list of all available commands:

  • apeLicenseMode
  • apeRegister
  • apeUpdateInfo
  • apeInsert
  • apeEditBlock
  • apeScaleToUnits
  • apeShowPanel

They will be explained in more detail in the following:


ApeLicenseMode


This command opens the license mode selection dialog to switch between Trial, Licensed and Free Mode.


ApeRegister


This command opens the registration dialog to fill in your personal information. You are required to register your installation within the first 30 days.


ApeUpdateInfo


This command allows you to edit the user information you provided for the registration.



ApeInsert


This command lets you insert any Adaptive Parts Block in the Rhino3D file. Other than using Rhinos native insert Block command, apeInsert allows you to insert the 


Parameters:

  • Edit Parameters: If you set this to yes, you can edit and change the block's input parameters
  • Dynamic Insertion: If you set this to yes, you can pick the new position of your new adjusted adaptive block.


 

Note: This command can be used for automation using macros or Python scripts.


ApeEditBlock


This command gives you the opportunity to edit referenced Curves/Points from the adaptive parts script.



ApeScaleToUnits


When an Adaptive Part is baked, the current Rhino unit system will be the unit system of the baked part. It is shown at the bottom of the panel. If the adaptive Part is inserted into a document that does not match the original unit system it is automatically scaled to the correct size. (Input units in the panel will have to be entered in the original unit system of the Part).


The ApeScaleToUnits solves an issue, when a document unit is changed and the geometry is NOT scaled accordingly. (If you click "No" in the dialog below).

Then there is a mismatch between the size of Adaptive Parts and the actual size of the object. It will resize the object to fit the newly selected unit system.



Example: If an Adaptive Part Block is baked with Millimeters as units, and then change the document units to meters, the block should be scaled by 0.001. Otherwise, the panel will not show the "usual" controls, but it will show this message "This Adaptive Part Element's scale hasn't been updated" and there will also be a button called "Update Scale". You can either click this button or run the command apeScaleToUnits to update the scale of the block to match the current unit system. If the scale is up to date already, the command does nothing. 




ApeShowPanel


This command shows the Adaptive Parts Panel if it is not already active.


ApeCreateProfileSection


This command creates a profile section from a closed curve. After entering your selection, the pop-up tab gives you the opportunity to give it a name and define a plane.


ApeChangeProfileSectionName


This command renames any profile section you created.


ApeExtrudeProfile


This command extrudes any profile section you created. After entering your selection, you can set the extrusion length directly, or select a point. Other options are to extrude both sides or reference the height and vector from a curve.


ApeEditFeatures


This command gives the user access all the features that have been added to the profile and gives the user the opportunity to change any of them. 



ApeAddProfileHole


This command adds one or multiple screw holes to your profile. After selecting the desired profile surface, a new menu pops up to help you customize your hole properties:

  • Hole Type:
    1. Clearance Hole.
    2. Countersunk Hole.
    3. Stepped Hole.
  • Through All.
  • Depth.
  • Diameter.
  • Head Diameter.
  • Bore Depth.



ApeSubtractSolid


This command applies a solid subtraction from your adaptive profile.


ApeConvertExtrustiontoProfile3D


This command converts any extrusion to an adaptive profile.


ApeExtractProfileSection


This command extracts the profile's base closed curve.

























Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select atleast one of the reasons

Feedback sent

We appreciate your effort and will try to fix the article