Define the free-form surface using a grid of points

Assignment Help Python Programming
Reference no: EM133114235

Question

1) Define the free-form surface using a grid of points. The minimum grid size should be 4 x 4.

2) Develop a Bezier surface from the grid of points.(The code for that is attached)

3) Generate a raster or zig-zag tool path to machine the surface.

4) The incremental step between one pass to the other pass has to be calculated based on the

5) the desired surface finish. Consider the scallop height as the surface finish.
Step forward in a pass has to be calculated based on the chordal error so that the desired accuracy can be achieved.

6) Finally, the CNC part program for the generated tool path has to be printed in a text file. There should be an option to change the control points.

Tools required to machine the surface have to be clearly mentioned in the report.

Imp: Points can be hardcoded for the 4*4 matrix which is 16 points. Please consider the following python code.
import numpy as np import math
import matplotlib.pyplot as plt import sys

Instructions for the next part:

1) first we have to fix the distance between the tool path points we are going to generate.

2) First fix the length to say, l= 0.1. Then take one bezier curve out of the bezier surface by making u constant.

3) L should have some range say from 0.098 to 0.102.

4) now increase the 'v' value. If for a particular 'v' value the distance between the points is in this range, we can take that point. Now fix that point and find the next point in the same way.

5) Another way is randomly selecting 'v' from 0 to 1. If the coordinates for that particular 'v' is far more than required, reduce 'v' . If the distance is less than the fixed distance, increase 'v'. This loop will continue till we get to the point within the distance range. Now we have to update the interval from (0, 1) to (v, 1) and do the same thing

Attachment:- Bezier surface.rar

Reference no: EM133114235

Questions Cloud

What is the effective interest rate : Benjamin borrowed $1,000,000 to remodel his hotel. The loan is for 10 years at 6% paid annually with a 4 point up-front clause. What is the effective interest r
What ethical issue is at stake : The present estimate of warranty expense is $500,000 and is known by both Brickhouse and Boudreau to be a fairly "soft" amount. What ethical issue is at stake
Private equity issues and opportunities : Q1. Describe the benefits and risks of an equity buyout compared to a leveraged buyout.
Evaluate the business-level strategy : Evaluate the business-level strategy of either Starbucks or Lockheed Martin to determine whether you believe the strategy
Define the free-form surface using a grid of points : Define the free-form surface using a grid of points. The minimum grid size should be 4 x 4 and Generate a raster or zig-zag tool path to machine the surface
What is the initial cash outalay associated with project : What is the initial cash outalay associated with this project?
What should be qrss earnings per common share : Net income for the year ended December 31, 2014, was $4,288. What should be QRS's 2014 earnings per common share, rounded to the nearest cent
What is the net present value of project : Assume a proposed project under consideration by the James River Co. requires $28,900 in fixed assets. The firm plans to ignore bonus depreciation and instead a
Compute up-front payment : Suppose that the risk-free zero curve is flat at 4% per annum with continuous compounding and that defaults can occur at times 0.5 years and 1.5 years in a 2-ye

Reviews

Write a Review

Python Programming Questions & Answers

  Calculate and print the value according to the given formula

Write a program that calculates and prints the value according to the given formula. D is the variable whose values should be input to your program in a comma.

  Record a function that accepts as a parameter a string

In Python, record a function that accepts as a parameter a string of seven 0s and 1s. and returns an eight digit string in odd parity.

  Create a class named animal thatis used to store information

InfoTc 1040 Introduction to Problem Solving and Programming Animal Class -Create a class named Animal thatis used to store information about an animal.

  You are tasked with improving the code for the haunted

you are tasked with improving the code for the haunted house game. please read the associated hand-out and the code

  What is the difference between a for loop and a while loop

Explain how to use built-in functions, functions from module, and user-defined functions. What is the difference between a for loop and a while loop? What is the difference between elif and if-else?

  Define a class called animal that abstracts animals

Define a class called Animal that abstracts animals and supports three methods. Define Bird as a subclass of Animal and change the behavior.

  Create a python file that will perform text analysis on file

Create a Python file that will perform text analysis on files.Takes a single string argument, representing a filename.The program must open the file and parse.

  Calculate the areas of two different rectangles

You need assistance in creating a program using Flowgorithm to calculate the areas of two different rectangles and then determine which is greater or if the are

  Complete the function so it prints the sum of its arguments

Complete the function asn so it calculates the average of its arguments and returns the average rounded to 2 decimal places.

  The function should return the day name (''su'',''mo''..etc)

Write the function day(d,m) where m is an integer from 1 through 12 expressing a month, and d is an integer from 1 through 31 expressing the day part of a date in 2014.

  ITECH1400 Fundamentals of Programming Assignment

ITECH1400 Fundamentals of Programming Assignment Help and Solution, Federation University - Assessment Writing Service

  Write program that will repeatedly ask user to enter strings

Write a program that will repeatedly ask the user to enter strings, one at a time.If the user enters the string print, your program should print out the string.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd