CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Visualization & Post-Processing Software > ParaView

[General] Coloring an .stl by coordinate value

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By Swempa

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 11, 2017, 10:17
Default Coloring an .stl by coordinate value
  #1
New Member
 
Jack
Join Date: Oct 2017
Location: UK
Posts: 2
Rep Power: 0
SwanCFD is on a distinguished road
Hello!

I have an .stl file of a 2D surface, and would like to color it by coordinates, specifically by the value of the y-coordinate.

Any help would be much appreciated!

Jack.
SwanCFD is offline   Reply With Quote

Old   October 11, 2017, 13:23
Default
  #2
Member
 
Swempa's Avatar
 
Join Date: Apr 2015
Posts: 37
Rep Power: 11
Swempa is on a distinguished road
Quote:
Originally Posted by SwanCFD View Post
Hello!

I have an .stl file of a 2D surface, and would like to color it by coordinates, specifically by the value of the y-coordinate.

Any help would be much appreciated!

Jack.
Hi Jack,

You can simply use a "Calculator" filter to extract different data types for visualisation.

Normally you can just apply a calculator filter to your STL and write an expression similar to "coordsY".

Good luck with your project!
belier1988 likes this.
Swempa is offline   Reply With Quote

Old   October 12, 2017, 11:27
Default Coloring an .stl by coordinate value
  #3
New Member
 
Jack
Join Date: Oct 2017
Location: UK
Posts: 2
Rep Power: 0
SwanCFD is on a distinguished road
Ah, simpler than I thought! Much appreciated, Swempa, that has worked perfectly for me.

Jack
SwanCFD is offline   Reply With Quote

Reply

Tags
color, coordinate, paraview, stl


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
[snappyHexMesh] snappyHexMesh does not create boundary patches from .stl files bug_or_feature OpenFOAM Meshing & Mesh Conversion 7 August 30, 2016 20:18
Using .stl - Surface for Average Pressure / Mass Flux / ... CellZone OpenFOAM Pre-Processing 2 May 4, 2016 03:25
Beginner help, coordinate udf with output file nb92 Fluent UDF and Scheme Programming 0 March 20, 2014 05:16
cylindrical coordinate vs cartesian coordinate Lam FLUENT 10 May 11, 2013 14:05
Cording Ground.for in Cylindrical coordinate J.H. Lee. Phoenics 2 March 28, 2003 05:28


All times are GMT -4. The time now is 06:51.