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

  Write a python program to implement the diff command

Without using the system() function to call any bash commands, write a python program that will implement a simple version of the diff command.

  Write a program for checking a circle

Write a program for checking a circle program must either print "is a circle: YES" or "is a circle: NO", appropriately.

  Prepare a python program

Prepare a Python program which evaluates how many stuck numbers there are in a range of integers. The range will be input as two command-line arguments.

  Python atm program to enter account number

Write a simple Python ATM program. Ask user to enter their account number, and print their initail balance. (Just make one up). Ask them if they wish to make deposit or withdrawal.

  Python function to calculate two roots

Write a Python function main() to calculate two roots. You must input a,b and c from keyboard, and then print two roots. Suppose the discriminant D= b2-4ac is positive.

  Design program that asks user to enter amount in python

IN Python Design a program that asks the user to enter the amount that he or she has budget in a month. A loop should then prompt the user to enter his or her expenses for the month.

  Write python program which imports three dictionaries

Write a Python program called hours.py which imports three dictionaries, and uses the data in them to calculate how many hours each person has spent in the lab.

  Write python program to create factors of numbers

Write down a python program which takes two numbers and creates the factors of both numbers and displays the greatest common factor.

  Email spam filter

Analyze the emails and predict whether the mail is a spam or not a spam - Create a training file and copy the text of several mails and spams in to it And create a test set identical to the training set but with different examples.

  Improve the readability and structural design of the code

Improve the readability and structural design of the code by improving the function names, variables, and loops, as well as whitespace. Move functions close to related functions or blocks of code related to your organised code.

  Create a simple and responsive gui

Please use primarily PHP or Python to solve the exercise and create a simple and responsive GUI, using HTML, CSS and JavaScript.Do not use a database.

  The program is to print the time

The program is to print the time in seconds that the iterative version takes, the time in seconds that the recursive version takes, and the difference between the times.

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