-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Create foreoptic component #132
Comments
Hey @abeerfatima, great to see you back! Hope you're doing awesome. 🚀 Sure, you can create a new foreoptic component by creating an instance of the from architect.systems.optical import foreoptics
# Create a new foreoptic component
my_foreoptic = foreoptics.Foreoptic(
diameter=0.1 * unit.m, # 0.1 meters
image_diameter=0.05 * unit.m, # 0.05 meters
focal_length=0.2 * unit.m, # 0.2 meters
mass=0.3 * unit.kg, # 0.3 kilograms
length=0.4 * unit.m, # 0.4 meters
transmittance=0.9 * unit.percent # 90 percent
) This will create a new Please note that the If you need to create a foreoptic component with different or additional functionality, you could create a new class that inherits from I hope this helps! If you have any further questions or need more specific guidance, please let me know. For more information, you can refer to the -Dosu Sources
|
Create a component for the selected foreoptic which inherits from the foreoptic class.
The text was updated successfully, but these errors were encountered: