pycatia.cat_rsc_interfaces.rendering_shooting¶
Module initially auto generated using V5Automation files from CATIA V5 R28 on 2020-09-25 14:34:21.593357
Warning
The notes denoted “CAA V5 Visual Basic Help” are to be used as reference only. They are there as a guide as to how the visual basic / catscript functions work and thus help debugging in pycatia.
- class pycatia.cat_rsc_interfaces.rendering_shooting.RenderingShooting(com_object)¶
Note
CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357)
System.IUnknownSystem.IDispatchSystem.CATBaseUnknownSystem.CATBaseDispatchSystem.AnyObjectRenderingShootingRepresents a Material object.- property active_camera: Camera3D¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357)
- o Property ActiveCamera() As Camera3DReturns or sets the active camera for shooting. A shooting can only haveone active camera at a time.
- Return type:
- property active_environment: RenderingEnvironment¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357)
- o Property ActiveEnvironment() As RenderingEnvironmentReturns or sets the active environment for shooting.A shooting can have one or zero active environment at a time.
- Return type:
- add_active_light(i_active_light: RenderingLight) None ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Sub AddActiveLight(RenderingLight iActiveLight)Adds a new active light to the shooting active lights list.
- Parameters:
i_active_light (RenderingLight) –
- Return type:
None
- property ambient_factor: int¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357)
- o Property AmbientFactor() As shortReturns or sets amount of ambient used for indirect illumination (finalgathering or global illumination).The ambient factor can be:1: Ambient is taken into account0: No ambient used
- Return type:
int
- property antialiasing_contrast: int¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357)
- o Property AntialiasingContrast() As shortReturns or sets the antialiasing contrast threshold value.This value ranges from 0. to 100.%. Contrast value sets the contrastthreshold for adaptative oversampling, that is, the maximum contrast thresholdbetween pixels, below which no oversampling will be done.If the contrast of any RGB component between the currently calculated pixeland heighboring pixels weighted by their sum is greater than this threshold,the pixel is oversampled.
- Return type:
int
- property antialiasing_max_sample: int¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357)
- o Property AntialiasingMaxSample() As shortReturns or sets the antialiasing maximum sample number for imagecomputation.This value ranges from 0/code> to 5/code>.Maximum samples value sets the minimum number of rays casted for 1,4 or 16pixels.The possible maximum sample number are:0 : 1 ray casted for a 4x4 pixel square1 : 1 ray casted for a 2x2 pixel square2 : 1 ray casted per pixel3 : 4 rays casted per pixel4 : 16 rays casted per pixel5 : 64 rays casted per pixel
- Return type:
int
- property antialiasing_min_sample: int¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357)
- o Property AntialiasingMinSample() As shortReturns or sets the antialiasing minimum sample number for imagecomputation.This value ranges from 0/code> to 5/code>.Minimum samples value sets the minimum number of rays casted for 1,4 or 16pixels.The possible minimum sample number are:0 : 1 ray casted for a 4x4 pixel square1 : 1 ray casted for a 2x2 pixel square2 : 1 ray casted per pixel3 : 4 rays casted per pixel4 : 16 rays casted per pixel5 : 64 rays casted per pixel
- Return type:
int
- property cartoon_contour_thickness: float¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357)
- o Property CartoonContourThickness() As doubleReturns or sets the cartoon contour thickness.The line thickness is given as image size percentage.The line thickness ranges from 0.0 (none) to 100.0.
- Return type:
float
- property cartoon_shading_status: int¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357)
- o Property CartoonShadingStatus() As shortReturns or sets the cartoon shading status of shooting.This status defines if the cartoon shading is activated ornot.If shading is deactivated, only contours are rendered.The cartoon shading effect status can be:1: Shading status is active0: Shading status is deactivated
- Return type:
int
- property cartoon_status: int¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357)
- o Property CartoonStatus() As shortReturns or sets the cartoon status of shooting.This status defines if the cartoon rendering is activated ornot.The cartoon effect status can be:1: Cartoon status is active0: Cartoon status is deactivated
- Return type:
int
- property cartoon_stroke_status: int¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357)
- o Property CartoonStrokeStatus() As shortReturns or sets the cartoon stroke status of shooting.This status defines if the cartoon stroke effect (ink pen effect) isactivated or not.The stroke status can be:1: Stroke status is active0: Stroke status is deactivated
- Return type:
int
- property caustic_accuracy: int¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357)
- o Property CausticAccuracy() As shortReturns or sets the number of photons to use when estimating radiance forcaustics.
- Return type:
int
- property caustic_radius: float¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357)
- o Property CausticRadius() As doubleReturns or sets the maximum distance in which photons for caustics arelocated.If the value is 0.0 an estimate based on the scene extent will be used.
- Return type:
float
- property caustic_status: int¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357)
- o Property CausticStatus() As shortReturns or sets the caustic status of shooting.This status defines if caustics are calculated or not.The caustic status can be:1: Caustics are enabled0: Caustics are disabled
- Return type:
int
- count_active_lights() int ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Func CountActiveLights() As shortReturns the number of active light for the shooting.
- Return type:
int
- property depth_of_field_radius: float¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357)
- o Property DepthOfFieldRadius() As doubleReturns or sets the depth of field radius of confusion.The radius of confusion ranges from 1.0 to 10.0%.
- Return type:
float
- property depth_of_field_status: int¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357)
- o Property DepthOfFieldStatus() As shortReturns or sets the depth of field status of shooting. This status definesif depth of field effect is activated or not.The depth of field status can be:1: Depth of field is active0: Depth of field is deactivated
- Return type:
int
- property final_gathering_accuracy: int¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357)
- o Property FinalGatheringAccuracy() As shortReturns or sets the number of rays shot in each final gather.
- Return type:
int
- property final_gathering_max_radius: float¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357)
- o Property FinalGatheringMaxRadius() As doubleReturns or sets the maximum distance in which a final gather result can beused.If the value is 0.0 an estimate based on the scene extent will be used.
- Return type:
float
- property final_gathering_min_radius: float¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357)
- o Property FinalGatheringMinRadius() As doubleReturns or sets the minimum distance in which a final gather result can beused.If the value is 0.0 it will be set to 10% of maximum distance.
- Return type:
float
- property final_gathering_status: int¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357)
- o Property FinalGatheringStatus() As shortReturns or sets the final gathering status of shooting.This status defines if final gathering is activated ornot.The final gathering status can be:1: Final gathering is enabled0: Final gathering is disabled
- Return type:
int
- get_active_light(i_index: int) RenderingLight ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Func GetActiveLight(short iIndex) As RenderingLightReturns the active light of the shooting using its index.
- Parameters:
i_index (int) –
- Return type:
- property global_illumination_accuracy: int¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357)
- o Property GlobalIlluminationAccuracy() As shortReturns or sets the number of photons to use when estimating radiance forglobal illumination.
- Return type:
int
- property global_illumination_radius: float¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357)
- o Property GlobalIlluminationRadius() As doubleReturns or sets the maximum distance in which photons for globalillumination are located.If the value is 0.0 an estimate based on the scene extent will be used.
- Return type:
float
- property global_illumination_status: int¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357)
- o Property GlobalIlluminationStatus() As shortReturns or sets the global illumination status ofshooting.This status defines if global illumination is used or not.The global illumination status can be:1: Global illumination is enabled0: Global illumination is disabled
- Return type:
int
- property glow_flare_diffusion: float¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357)
- o Property GlowFlareDiffusion() As doubleReturns or sets the glow flare diffusion.The flare diffusion value ranges from 0.0 to 1.0%.
- Return type:
float
- property glow_flare_factor: float¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357)
- o Property GlowFlareFactor() As doubleReturns or sets the glow flare factor.The flare factor ranges from 0.0 to 1.0%.
- Return type:
float
- property glow_intensity: float¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357)
- o Property GlowIntensity() As doubleReturns or sets the glow intensity factor.The glow intensity factor ranges from 1.0 to 10.0%.
- Return type:
float
- property glow_radial_line_size: float¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357)
- o Property GlowRadialLineSize() As doubleReturns or sets the glow radial lines size.The lines size ranges from 0.0 (none) to 1.0 (max length).
- Return type:
float
- property glow_size: float¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357)
- o Property GlowSize() As doubleReturns or sets the glow filter size in percentage of imagesize.The filter size ranges from 0.1 to 1.0%.
- Return type:
float
- property glow_star_effect: float¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357)
- o Property GlowStarEffect() As doubleReturns or sets the glow star effect.The effect coefficient ranges from 0.0 (random star) to 1.0 (cross).
- Return type:
float
- property glow_status: int¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357)
- o Property GlowStatus() As shortReturns or sets the glow status of shooting. This status defines if theglow effect is activated or not.The glow status can be:1: Glow is active0: Glow is deactivated
- Return type:
int
- property glow_threshold: float¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357)
- o Property GlowThreshold() As doubleReturns or sets the glow color threshold.The color threshold ranges from 0.5 to 1.5%.
- Return type:
float
- property image_height: int¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357)
- o Property ImageHeight() As shortReturns or sets the image height for shooting.The image height ranges from 10 to 8000 pixels.
- Return type:
int
- property image_output_directory: str¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357)
- o Property ImageOutputDirectory() As CATBSTRReturns or sets the output directory for image.This is the place where rendered images are saved.
- Return type:
str
- property image_output_format: int¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357)
- o Property ImageOutputFormat() As shortReturns or sets the file type used for saved image.Possible format types1 TIFF True Color (*.tif)2 TIFF True Color Packbits (*.tif)3 SGI Format (*.rgb)4 Windows Bitmap (*.bmp)5 JPEG Fair Quality (*.jpg)6 JPEG Medium Quality (*.jpg)7 JPEG High Quality (*.jpg)8 Apple Macintosh Format (*.pic)9 Adobe Photoshop Format (*.psd)10 Portable Network Graphics (*.png)11 Truevision Targa (*.tga)
- Return type:
int
- property image_output_name: str¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357)
- o Property ImageOutputName() As CATBSTRReturns or sets the output name for image (extensionexcluded).This is the name of saved files (with no extension).
- Return type:
str
- property image_output_type: int¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357)
- o Property ImageOutputType() As shortReturns or sets the image output location.Output types1 On screen2 On disk
- Return type:
int
- property image_predefined_ratio: int¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357)
- o Property ImagePredefinedRatio() As shortReturns or sets the image height for shooting.Sets the image ratio to a standard predefined value. The image size keepsthe same height and the image length is recalculated.Possible predefined ratio. 0 no predefined ratio1 0.708333 (A4)2 1.0 (6 x 6)3 1.25 (Standard)4 1.333333 (4 / 3)5 1.5 (24 x 36)6 1.687331 (16 mm.)7 1.777777 (16 / 9)8 1.855072 (HDTV)9 2.2 (Panavision)10 3.0 (Panorama)11 1.32 (CCD 1/2”)12 1.333333 (CCD 1/4”)
- Return type:
int
- property image_width: int¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357)
- o Property ImageWidth() As shortReturns or sets the image width for shooting.The image width ranges from 10 to 8000 pixels.
- Return type:
int
- property raytracing_status: int¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357)
- o Property RaytracingStatus() As shortReturns or sets the the raytracing status for shooting.The raytracing status can be:1: Raytracing is active0: Raytracing is deactivated
- Return type:
int
- property rebounds_count: int¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357)
- o Property ReboundsCount() As shortReturns or sets the maximum number of rebounds levels to take into accountfor image computation.This number ranges from 0 to 18 levels.
- Return type:
int
- property reflections_count: int¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357)
- o Property ReflectionsCount() As shortReturns or sets the maximum number of reflections levels to take intoaccount for image computation.This number ranges from 0 to 9 levels.
- Return type:
int
- property refractions_count: int¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357)
- o Property RefractionsCount() As shortReturns or sets the maximum number of refractions levels to take intoaccount for image computation.This number ranges from 0 to 9 levels.
- Return type:
int
- remove_active_light(i_index: int) None ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Sub RemoveActiveLight(short iIndex)Removes a light from the shootings active lights list.
- Parameters:
i_index (int) –
- Return type:
None
- render() None ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Sub Render()Render the shootingCaution: Product involved in rendering calculation should not be closedbefore the end of computation. If product is closed, calculation isinterrupted.
- Return type:
None
- property shadows_status: int¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357)
- o Property ShadowsStatus() As shortReturns or sets the shadows status of shooting. This status defines ifshadows are calculated or not.The shadows status can be:1: Shadows on0: Shadows off
- Return type:
int
- property textures_status: int¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357)
- o Property TexturesStatus() As shortReturns or sets the textures status of shooting. This status defines iftextures are taken into account for image computation.The texture status can be:1: Textures are taking into account0: Textures are ignored
- Return type:
int