100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached 4.2 TrustPilot
logo-home
Summary

Samenvatting Hulp code eindtest Alphacam 3

Rating
-
Sold
-
Pages
5
Uploaded on
16-05-2023
Written in
2022/2023

Document die je helpt bij de eindtest

Institution
Course









Whoops! We can’t load your doc right now. Try again or contact support.

Written for

Institution
Study
Course

Document information

Uploaded on
May 16, 2023
Number of pages
5
Written in
2022/2023
Type
Summary

Subjects

Content preview

Omrekenen naar 32 mm systeem
If opt32mm = True Then

Lengte = ((Int((Lengte - Dikte) / 32) * 32) + Dikte)

Breedte = ((Int((Breedte - (2 * 37)) / 32)) * 32) + (2 * 37)



Aanmaken constructieblok + uitgangsmateriaal
Dim Constructieblok As Path

Set Constructieblok = drw.CreateRectangle(0, 0, Lengte, Breedte)

Constructieblok.SetWorkVolume 0, -Dikte 'maken cnstr blok



Dim Uitgangsmateriaal As Path

Set Uitgangsmateriaal = drw.CreateRectangle(-5, -5, Lengte + 5, Breedte + 5)

Uitgangsmateriaal.SetMaterial 0, -Dikte



Aanmaken werkvlak (0-punt,punt waar x naar wijst, punt waar z naar wijst)
Dim BovenVlak As WorkPlane

Set BovenVlak = drw.CreateWorkPlane(0, 0, 0, Lengte, 0, 0, 0, Breedte, 0)

drw.SetWorkPlane BovenVlak



Contour frezen  !juiste werkvlak actief maken
1. Tekenen contour

Dim Contour As Path

Set Contour = drw.CreateRectangle(0, 0, Lengte, Breedte)

2. Gereedschap definiëren

Dim ContourFrees As MillTool

On Error Resume Next '(foutmeldingen uitschakelen)

Set ContourFrees = App.SelectTool(App.LicomdatPath & "\licomdat\tools hout\rechte frezen\
recht 20_diamant.art")

On Error GoTo 0 '(foutmeldignen weer aan)

'foutmelding als frees niet gevonden

If ContourFrees Is Nothing Then

, MsgBox "selecteer zelf een gereedschap aub", vbCritical, "GEREEDDSCHAP NIET
GEVONDEN!"

Set ContourFrees = App.SelectTool("$user")

End If

3. Bewerkingsrichting

With Contour

.SetStartPoint Lengte / 2, 0 'startpunt

.CW = False 'ccw

.Selected = True 'selecteer contour

.ToolInOut = acamOUTSIDE 'frees buitenkand

End With

4. Freesbewerking definiëren

Dim ContourFreesGegevens As MillData

Set ContourFreesGegevens = App.CreateMillData

With ContourFreesGegevens

.FinalDepth = -Dikte - 1

.MaterialTop = 0

.NumberOfCuts = 1

.OffsetNumber = 100 'correctieadres

.SafeRapidLevel = 50 'vrijloop

.RapidDownTo = 10 'aanloop

.Stock = 0 'toeslag

.XYCorners = acamCornersSTRAIGHT 'rechte frees hoeken

'extra opties onder alphacam opties / vba macro's / help alphacam api

End With

5. Frezen zelf

Dim ContourFrezing As Paths

Set ContourFrezing = ContourFreesGegevens.RoughFinish

ContourFrezing.Item(1).SetLeadInOutAuto acamLeadBOTH, acamLeadBOTH , 2, 2, 45, True, True,
10 'in en uitloop instellingen

Get to know the seller

Seller avatar
Reputation scores are based on the amount of documents a seller has sold for a fee and the reviews they have received for those documents. There are three levels: Bronze, Silver and Gold. The better the reputation, the more your can rely on the quality of the sellers work.
Studenthouttechnologie Hogeschool Gent
Follow You need to be logged in order to follow users or courses
Sold
21
Member since
5 year
Number of followers
10
Documents
16
Last sold
1 month ago

3,0

4 reviews

5
2
4
0
3
0
2
0
1
2

Recently viewed by you

Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their exams and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can immediately select a different document that better matches what you need.

Pay how you prefer, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card or EFT and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Frequently asked questions