-
Querying points on a curve
Hi I am currently working on a script to auto spline between my aerofoils, but I am having trouble's. I tried querying the vertices adjacent to the profile, however this only gave me the leading and trailing point. I have now queried the upper and lower splines and attempted to do a line intersect but obviously a spline…
-
ROUND CORNERS
How can i round the corners of skrectangle or closed sklinesegment?
-
help on evDistance
-
how can i write this in FS
dim len as integer len = 1
-
how to get dimension?
-
Defining appearance
Is it possible using Feature Script to change or define the appearance of a part? For example, colour?
-
How to make extrude solid not surfaces?
Hi, what I need help with is I have performed an opExtrude() function and then used qCapEntity() to get the end face. I then have another opExtrude() to extrude the whole face another 3mm. However, the resulting geometry is a surface not a solid and I don't know why. Also if this wont work, how could I use the offset face…
-
skRectangle error when part's rotated
Hi there. I have a script that generates mortice and tenon joinery however I have some problems. It works fine if the parts face that the tenon protrudes from is aligned with the x axis. The problem is when it aligns with the y axis. How I have got it to work so far is the user selects two adjacent faces and then the…
-
Get face that shares a vertex
Hello, I need a piece of code that gets a face that contains a specific vertex. I already have the vertex specified, I just need the face such that the vertex makes one of its corners. Any Ideas? Thanks Lee Hesketh
-
Select adjacent ends given two faces
Hi everyone. I need to query for the ends of a rectangle given the user selects two adjacent faces. How could I do this? Thanks Lee Hesketh
-
Can i use script of created part for making custom feature script?
Can i use script of created part for making custom feature script?
-
Automatically referencing geometries as input for new feature through API
Apologies in advance for the abstract problem description. I hope I'll be able to explain it somewhat properly. If not, let me know what information you're missing. My problem is as follows: Let's say I have two Feature Studios. One which creates a straight line, and one which creates an arc. * I need to be able to…
-
Recommend making a tutorial for debug
Hi, I have been learning Feature Script for the past few days. It took me a while to know that debug existed and about 30 minutes to figure out how to use it. Since learning how to use debug, my learning rate has accelerated significantly. I would recommend making a 30-60 second video tutorial of how to use debug and…
-
SVD
I have a vector which is the normal to a plane to create another plane x distance in the normal from the original plane I want to find the unit vector of the normal. I wanted to use svd but I can't figure how to use is where do I put the 'u' in svd? my code looks like this: //Make Plane normal<div> var centerPlane =…
-
Human Model Feature Script
I'd love a 98 percentile human model that could be configured/set into various positions. I think it was mentioned here on this forum some time ago that Catia had something like this. Has this been done? This maybe something someone could tackle with FS. Beyond me but I'd defiantly use this if available. @dave_cowden what…
-
exporting variables from one feature studio to another
for example if i have a variable as var pp = 1+5; in 'feature studio 1' and i want to use this variable in 'feature studio 2' as var pp1 = pp+1; can this be done? as in exporting values and quires from one feature studio to another? if so how should it be done and what is the syntax of coding to be followed? I'm kind of a…
-
Many points and skFitSpline
Hi I am automating a profile connecting many points with skFitSpline and the resulting spline misses most of the points specified. the snippet of code is as follows: skFitSpline(sketch1, "camberSpline", { "points" : pointsCamber }); where pointsCamber is an array of many vectors. any ideas as to how i could improve this…
-
Deduce a existant diameter or project a face
Hello, I would like to make a new Feature with FeatureScript. I would like to automatize the creation of screw thread. To do this I need to create a sketch on a surface. On this sketch I have to project the circle, or at least know the diameter of the screw. For the moment, I could create a sketch plane with a circle but I…
-
FeatureScript and students
Hi, As a Design and Technology College teacher from Y7 through to Year 12 (Australia) I was wondering if a 'Feature Script' could be developed/made to 'Only' allow certain comands to be visible so that young students could focus on the skill set on 'display'?....or are there ways to 'turn off' skill sets? ...by the way…
-
First touch from user perspective
Just got the access and gave a quick try for this mystic feature.. Like I always do, no manuals, no learning, just open up and try I was able to create new feature script tab and link it to part studio. Then created (with fs) a sketch with rectangle and extrude to part. At first I had sketch solved before creating geometry…